Skip navigation links
C F G L M O P R S T 

C

closeLoggers() - Method in class org.dataone.portal.PortalCertificateManager
To prevent .lck files from persisting, we close the loggers when shutting down the system http://stackoverflow.com/questions/2723280/why-is-my-program-creating-empty-lck-files

F

fetchServerCertificate() - Method in class org.dataone.portal.TokenGenerator
fetches the server certificates from the remote CN using the configured CN baseurl from d1_libclient_java.

G

getCertificate(HttpServletRequest) - Method in class org.dataone.portal.PortalCertificateManager
Get the certificate from the store, based on the cookie (if present)
getConfigFile() - Method in class org.dataone.portal.PortalCertificateManager
Gets the current configuration file path
getCookie(HttpServletRequest) - Method in class org.dataone.portal.PortalCertificateManager
Retrieves the certificate Cookie from the request
getCredentials(String) - Method in class org.dataone.portal.PortalCertificateManager
Get the credentials from the store, based on the token/identifier
getCredentials(HttpServletRequest) - Method in class org.dataone.portal.PortalCertificateManager
Get the credentials from the store, based on the cookie (if present)
getInstance() - Static method in class org.dataone.portal.PortalCertificateManager
 
getInstance() - Static method in class org.dataone.portal.TokenGenerator
 
getJWT(String, String) - Method in class org.dataone.portal.TokenGenerator
 
getPrivateKey(HttpServletRequest) - Method in class org.dataone.portal.PortalCertificateManager
Get the private key from the store, based on the cookie (if present)
getSession(HttpServletRequest) - Method in class org.dataone.portal.PortalCertificateManager
Gets the requests Session, either the X509 Certificate if there is one, or by checking for Authorization headers.
getSession(String) - Method in class org.dataone.portal.TokenGenerator
Extracts the subject from the token string, and attempts to get the SubjectInfo from the CN.

L

log - Static variable in class org.dataone.portal.PortalCertificateManager
 
log - Static variable in class org.dataone.portal.TokenGenerator
 

M

main(String[]) - Static method in class org.dataone.portal.TokenGenerator
For generating custom tokens outside of the portal workflow.

O

org.dataone.portal - package org.dataone.portal
 

P

PortalCertificateManager - Class in org.dataone.portal
 
PortalCertificateManager() - Constructor for class org.dataone.portal.PortalCertificateManager
 
PortalCertificateManager(String) - Constructor for class org.dataone.portal.PortalCertificateManager
 
putPortalCertificateOnRequest(HttpServletRequest) - Method in class org.dataone.portal.PortalCertificateManager
 

R

registerPortalCertificateAndPlaceOnRequest(HttpServletRequest) - Method in class org.dataone.portal.PortalCertificateManager
 
registerPortalCertificateWithCertificateManger(HttpServletRequest) - Method in class org.dataone.portal.PortalCertificateManager
 
removeCookie(HttpServletResponse) - Method in class org.dataone.portal.PortalCertificateManager
Removes the certificate cookie, essentially logging out the user

S

setConfigFile(String) - Method in class org.dataone.portal.PortalCertificateManager
Sets the client configuration file path
setCookie(String, HttpServletResponse) - Method in class org.dataone.portal.PortalCertificateManager
Sets the certificate Cookie on the response.

T

TokenGenerator - Class in org.dataone.portal
Class for generating JSON web tokens for authenticated users.
C F G L M O P R S T 
Skip navigation links

Copyright © 2020. All rights reserved.