Uses of Interface
com.netscape.certsrv.authentication.IAuthToken
-
-
Uses of IAuthToken in com.netscape.certsrv.authentication
Classes in com.netscape.certsrv.authentication that implement IAuthToken Modifier and Type Class Description classAuthTokenAuthentication token returned by Authentication Managers.classExternalAuthTokenAuthentication token that wraps an externally authenticated principal to return.Methods in com.netscape.certsrv.authentication that return IAuthToken Modifier and Type Method Description IAuthTokenIAuthManager. authenticate(IAuthCredentials authCred)Authenticate the given credentials.IAuthTokenIAuthSubsystem. authenticate(IAuthCredentials authCred, java.lang.String authMgrName)Authenticate the given credentials using the given manager name.Methods in com.netscape.certsrv.authentication with parameters of type IAuthToken Modifier and Type Method Description char[]ISharedToken. getSharedToken(java.lang.String identification, IAuthToken authToken) -
Uses of IAuthToken in com.netscape.certsrv.authorization
Methods in com.netscape.certsrv.authorization with parameters of type IAuthToken Modifier and Type Method Description AuthzTokenIAuthzManager. authorize(IAuthToken authToken, java.lang.String expression)AuthzTokenIAuthzManager. authorize(IAuthToken authToken, java.lang.String resource, java.lang.String operation)Check if the user is authorized to perform the given operation on the given resource.AuthzTokenIAuthzSubsystem. authorize(java.lang.String authzMgrName, IAuthToken authToken, java.lang.String exp)AuthzTokenIAuthzSubsystem. authorize(java.lang.String authzMgrName, IAuthToken authToken, java.lang.String resource, java.lang.String operation)authorize the user associated with the given authToken for a given operation with the given authorization manager nameAuthzTokenIAuthzSubsystem. authorize(java.lang.String authzMgrName, IAuthToken authToken, java.lang.String resource, java.lang.String operation, java.lang.String realm)voidIAuthzSubsystem. checkRealm(java.lang.String realm, IAuthToken authToken, java.lang.String owner, java.lang.String resource, java.lang.String operation)Authorize the user against the specified realm. -
Uses of IAuthToken in com.netscape.certsrv.ca
Methods in com.netscape.certsrv.ca with parameters of type IAuthToken Modifier and Type Method Description ICertificateAuthorityICertificateAuthority. createCA(IAuthToken authToken, java.lang.String dn, AuthorityID parentAID, java.lang.String desc)Create a new sub-CA under the specified parent CA.ICertificateAuthorityICertificateAuthority. createSubCA(IAuthToken authToken, java.lang.String dn, java.lang.String desc)Create a new sub-CA IMMEDIATELY beneath this one. -
Uses of IAuthToken in com.netscape.certsrv.evaluators
Methods in com.netscape.certsrv.evaluators with parameters of type IAuthToken Modifier and Type Method Description booleanIAccessEvaluator. evaluate(IAuthToken authToken, java.lang.String type, java.lang.String op, java.lang.String value)Evaluates if the given value satisfies the access control in authToken obtained from Authentication. -
Uses of IAuthToken in com.netscape.certsrv.profile
Methods in com.netscape.certsrv.profile with parameters of type IAuthToken Modifier and Type Method Description voidIProfileAuthenticator. populate(IAuthToken token, IRequest request)Populates authentication specific information into the request for auditing purposes.voidIProfile. submit(IAuthToken token, IRequest request)Handles end-user request submission. -
Uses of IAuthToken in com.netscape.certsrv.request
Methods in com.netscape.certsrv.request that return IAuthToken Modifier and Type Method Description IAuthTokenIRequest. getExtDataInAuthToken(java.lang.String key)Retrieves an authtoken.Methods in com.netscape.certsrv.request with parameters of type IAuthToken Modifier and Type Method Description booleanIRequest. setExtData(java.lang.String key, IAuthToken data)Stores an AuthToken the same as a Hashtable. -
Uses of IAuthToken in com.netscape.cms.authentication
Methods in com.netscape.cms.authentication that return IAuthToken Modifier and Type Method Description IAuthTokenAgentCertAuthentication. authenticate(IAuthCredentials authCred)authenticates user(agent) by certificateIAuthTokenCMCAuth. authenticate(IAuthCredentials authCred)Authenticates user by their CMC; resulting AuthToken sets a TOKEN_SUBJECT for the subject name.IAuthTokenCMCUserSignedAuth. authenticate(IAuthCredentials authCred)Authenticates user by their CMC; resulting AuthToken sets a TOKEN_SUBJECT for the subject name.IAuthTokenDirBasedAuthentication. authenticate(IAuthCredentials authCred)Authenticates user through LDAP by a set of credentials.IAuthTokenFlatFileAuth. authenticate(IAuthCredentials authCred)Authenticate the requestIAuthTokenHashAuthentication. authenticate(IAuthCredentials authCreds)Authenticates a user based on uid, pwd in the directory.IAuthTokenSessionAuthentication. authenticate(IAuthCredentials authCred)Authenticate user.IAuthTokenSSLclientCertAuthentication. authenticate(IAuthCredentials authCred)authenticates user by certificateIAuthTokenTokenAuthentication. authenticate(IAuthCredentials authCred)authenticates user(agent) by certificateIAuthTokenHashAuthentication. getAuthToken(java.lang.String key)protected IAuthTokenCMCAuth. verifySignerInfo(SessionContext auditContext, AuthToken authToken, org.mozilla.jss.pkix.cms.SignedData cmcFullReq)protected IAuthTokenCMCUserSignedAuth. verifySignerInfo(SessionContext auditContext, AuthToken authToken, org.mozilla.jss.pkix.cms.SignedData cmcFullReq)User-signed CMC requests can be signed in two ways: a.Methods in com.netscape.cms.authentication with parameters of type IAuthToken Modifier and Type Method Description voidHashAuthentication. addAuthToken(java.lang.String pageID, IAuthToken token)char[]SharedSecret. getSharedToken(java.lang.String identification, IAuthToken authToken)getSharedToken(String identification, IAuthToken authToken) provides support for id_cmc_identification shared secret based enrollmentvoidAgentCertAuthentication. populate(IAuthToken token, IRequest request)voidCMCAuth. populate(IAuthToken token, IRequest request)voidCMCUserSignedAuth. populate(IAuthToken token, IRequest request)voidFlatFileAuth. populate(IAuthToken token, IRequest request)voidSessionAuthentication. populate(IAuthToken token, IRequest request)voidSSLclientCertAuthentication. populate(IAuthToken token, IRequest request)voidTokenAuthentication. populate(IAuthToken token, IRequest request)voidUidPwdDirAuthentication. populate(IAuthToken token, IRequest request)voidUidPwdPinDirAuthentication. populate(IAuthToken token, IRequest request)voidUserPwdDirAuthentication. populate(IAuthToken token, IRequest request) -
Uses of IAuthToken in com.netscape.cms.authorization
Methods in com.netscape.cms.authorization with parameters of type IAuthToken Modifier and Type Method Description AuthzTokenAAclAuthz. authorize(IAuthToken authToken, java.lang.String expression)AuthzTokenAAclAuthz. authorize(IAuthToken authToken, java.lang.String resource, java.lang.String operation)check the authorization permission for the user associated with authToken on operation Example: For example, if UsrGrpAdminServlet needs to authorize the caller it would do be done in the following fashion: try { authzTok = mAuthz.authorize( "DirAclAuthz", authToken, RES_GROUP, "read"); } catch (EBaseException e) { log(ILogger.LL_FAILURE, "authorize call: " + e.toString()); }AuthzTokenBasicGroupAuthz. authorize(IAuthToken authToken, java.lang.String expression)AuthzTokenBasicGroupAuthz. authorize(IAuthToken authToken, java.lang.String resource, java.lang.String operation)protected booleanAAclAuthz. checkAllowEntries(IAuthToken authToken, java.lang.Iterable<java.lang.String> nodes, java.lang.String perm)protected voidAAclAuthz. checkDenyEntries(IAuthToken authToken, java.lang.Iterable<java.lang.String> nodes, java.lang.String perm)throw EACLsException if a deny entry is matchedvoidAAclAuthz. checkPermission(IAuthToken authToken, java.lang.String name, java.lang.String perm)Checks if the permission is granted or denied with id from authtoken gotten from authentication that precedes authorization.booleanAAclAuthz. evaluateACLs(IAuthToken authToken, java.lang.String exp) -
Uses of IAuthToken in com.netscape.cms.evaluators
Methods in com.netscape.cms.evaluators with parameters of type IAuthToken Modifier and Type Method Description booleanGroupAccessEvaluator. evaluate(IAuthToken authToken, java.lang.String type, java.lang.String op, java.lang.String value)evaluates uid in AuthToken to see if it has membership in group valuebooleanIPAddressAccessEvaluator. evaluate(IAuthToken authToken, java.lang.String type, java.lang.String op, java.lang.String value)Gets the IP address from session contextbooleanUserAccessEvaluator. evaluate(IAuthToken authToken, java.lang.String type, java.lang.String op, java.lang.String value)Evaluates the user in AuthToken to see if it's equal to valuebooleanUserOrigReqAccessEvaluator. evaluate(IAuthToken authToken, java.lang.String type, java.lang.String op, java.lang.String value)Evaluates the user in AuthToken to see if it's equal to value -
Uses of IAuthToken in com.netscape.cms.profile.common
Methods in com.netscape.cms.profile.common with parameters of type IAuthToken Modifier and Type Method Description voidEnrollProfile. submit(IAuthToken token, IRequest request)This method is called after the user submits the request from the end-entity page. -
Uses of IAuthToken in com.netscape.cms.realm
Methods in com.netscape.cms.realm that return IAuthToken Modifier and Type Method Description IAuthTokenPKIPrincipal. getAuthToken()Methods in com.netscape.cms.realm with parameters of type IAuthToken Modifier and Type Method Description protected java.security.PrincipalPKIRealm. getPrincipal(IUser user, IAuthToken authToken)protected java.security.PrincipalPKIRealm. getPrincipal(java.lang.String username, IAuthToken authToken)Constructors in com.netscape.cms.realm with parameters of type IAuthToken Constructor Description PKIPrincipal(IUser user, java.lang.String password, java.util.List<java.lang.String> roles, IAuthToken authToken) -
Uses of IAuthToken in com.netscape.cms.servlet.admin
Methods in com.netscape.cms.servlet.admin with parameters of type IAuthToken Modifier and Type Method Description booleanAdminServlet. authorize(IAuthToken token)authorize a user based on its authentication credentials. -
Uses of IAuthToken in com.netscape.cms.servlet.base
Methods in com.netscape.cms.servlet.base that return IAuthToken Modifier and Type Method Description IAuthTokenCMSServlet. authenticate(CMSRequest req)IAuthTokenCMSServlet. authenticate(CMSRequest req, java.lang.String authMgrName)IAuthTokenCMSServlet. authenticate(javax.servlet.http.HttpServletRequest httpReq)IAuthTokenCMSServlet. authenticate(javax.servlet.http.HttpServletRequest httpReq, java.lang.String authMgrName)Authenticationprotected IAuthTokenCMSServlet. getAuthToken(IRequest req)Methods in com.netscape.cms.servlet.base with parameters of type IAuthToken Modifier and Type Method Description AuthzTokenCMSServlet. authorize(java.lang.String authzMgrName, IAuthToken authToken, java.lang.String resource, java.lang.String operation)Authorize must occur after AuthenticateAuthzTokenCMSServlet. authorize(java.lang.String authzMgrName, java.lang.String resource, IAuthToken authToken, java.lang.String exp)protected static voidCMSServlet. saveAuthToken(IAuthToken token, IRequest req) -
Uses of IAuthToken in com.netscape.cms.servlet.cert
Methods in com.netscape.cms.servlet.cert with parameters of type IAuthToken Modifier and Type Method Description protected voidHashEnrollServlet. fillCertInfoFromAuthToken(X509CertInfo certInfo, IAuthToken authToken)fill subject name, validity, extensions from authoken if any, overriding what was in pkcs10.protected X509CertInfo[]HashEnrollServlet. fillCRMF(java.lang.String crmf, IAuthToken authToken, IArgBlock httpParams, IRequest req)protected voidCertProcessor. populateRequests(CertEnrollmentRequest data, boolean isRenewal, java.util.Locale locale, java.util.Date origNotAfter, java.lang.String origSubjectDN, IRequest origReq, java.lang.String profileId, IProfile profile, IProfileContext ctx, IProfileAuthenticator authenticator, IAuthToken authToken, IRequest[] reqs)java.util.HashMap<java.lang.String,java.lang.Object>EnrollmentProcessor. processEnrollment(CertEnrollmentRequest data, javax.servlet.http.HttpServletRequest request, AuthorityID aid, AuthCredentials credentials, IAuthToken authToken)Process the HTTP requestprotected java.lang.StringCertProcessor. submitRequests(java.util.Locale locale, IProfile profile, IAuthToken authToken, IRequest[] reqs) -
Uses of IAuthToken in com.netscape.cms.servlet.cert.scep
Methods in com.netscape.cms.servlet.cert.scep that return IAuthToken Modifier and Type Method Description IAuthTokenCRSEnrollment. authenticate(AuthCredentials credentials, IProfileAuthenticator authenticator, javax.servlet.http.HttpServletRequest request) -
Uses of IAuthToken in com.netscape.cms.servlet.connector
Methods in com.netscape.cms.servlet.connector that return IAuthToken Modifier and Type Method Description protected IAuthTokenCloneServlet. authenticate(java.security.cert.X509Certificate peerCert)Methods in com.netscape.cms.servlet.connector with parameters of type IAuthToken Modifier and Type Method Description protected IPKIMessageCloneServlet. processRequest(java.lang.String source, java.lang.String sourceUserId, IPKIMessage msg, IAuthToken token)protected IPKIMessageConnectorServlet. processRequest(java.lang.String source, java.lang.String sourceUserId, IPKIMessage msg, IAuthToken token)Process request -
Uses of IAuthToken in com.netscape.cms.servlet.key
Methods in com.netscape.cms.servlet.key with parameters of type IAuthToken Modifier and Type Method Description voidKeyRequestDAO. approveRequest(RequestId id, java.lang.String requestor, IAuthToken authToken)voidKeyRequestDAO. cancelRequest(RequestId id, IAuthToken authToken)IRequestKeyRequestDAO. createRecoveryRequest(KeyRecoveryRequest data, javax.ws.rs.core.UriInfo uriInfo, java.lang.String requestor, IAuthToken authToken, boolean ephemeral)KeyRequestInfoKeyRequestDAO. getRequest(RequestId id, javax.ws.rs.core.UriInfo uriInfo, IAuthToken authToken)Gets info for a specific requestvoidKeyRequestDAO. rejectRequest(RequestId id, IAuthToken authToken)KeyRequestResponseKeyRequestDAO. submitAsyncKeyRecoveryRequest(KeyRecoveryRequest data, javax.ws.rs.core.UriInfo uriInfo, java.lang.String requestor, IAuthToken authToken)KeyRequestResponseKeyRequestDAO. submitRequest(KeyRecoveryRequest data, javax.ws.rs.core.UriInfo uriInfo, java.lang.String requestor, IAuthToken authToken)Submits a key recovery request. -
Uses of IAuthToken in com.netscape.cms.servlet.processors
Methods in com.netscape.cms.servlet.processors that return IAuthToken Modifier and Type Method Description IAuthTokenCAProcessor. authenticate(IProfileAuthenticator authenticator, javax.servlet.http.HttpServletRequest request, IRequest origReq, SessionContext context, AuthCredentials credentials)AUTHENTICATION FUNCTIONS (move to Realm?)IAuthTokenCAProcessor. authenticate(IProfileAuthenticator authenticator, javax.servlet.http.HttpServletRequest request, AuthCredentials credentials)IAuthTokenCAProcessor. authenticate(javax.servlet.http.HttpServletRequest httpReq)IAuthTokenCAProcessor. authenticate(javax.servlet.http.HttpServletRequest request, IRequest origReq, IProfileAuthenticator authenticator, SessionContext context, boolean isRenewal, AuthCredentials credentials)IAuthTokenCAProcessor. authenticate(javax.servlet.http.HttpServletRequest httpReq, java.lang.String authMgrName)Methods in com.netscape.cms.servlet.processors with parameters of type IAuthToken Modifier and Type Method Description AuthzTokenCAProcessor. authorize(java.lang.String authzMgrName, IAuthToken authToken, java.lang.String resource, java.lang.String operation)Authorize must occur after AuthenticatevoidCAProcessor. authorize(java.lang.String profileId, IProfile profile, IAuthToken authToken)AuthzTokenCAProcessor. authorize(java.lang.String authzMgrName, java.lang.String resource, IAuthToken authToken, java.lang.String exp)AUTHZ FNCTIONS (to be moved to Realm?)voidCMCProcessor. fillCertInfo(java.lang.String protocolString, X509CertInfo certInfo, IAuthToken authToken, IArgBlock httpParams)voidKeyGenProcessor. fillCertInfo(java.lang.String protocolString, X509CertInfo certInfo, IAuthToken authToken, IArgBlock httpParams)voidPKCS10Processor. fillCertInfo(java.lang.String protocolString, X509CertInfo certInfo, IAuthToken authToken, IArgBlock httpParams)voidPKCS10Processor. fillCertInfo(PKCS10 pkcs10, X509CertInfo certInfo, IAuthToken authToken, IArgBlock httpParams)protected voidPKIProcessor. fillCertInfo(java.lang.String protocolString, X509CertInfo certInfo, IAuthToken authToken, IArgBlock httpParams)X509CertInfo[]CMCProcessor. fillCertInfoArray(java.lang.String protocolString, IAuthToken authToken, IArgBlock httpParams, IRequest req)X509CertInfo[]CRMFProcessor. fillCertInfoArray(java.lang.String protocolString, IAuthToken authToken, IArgBlock httpParams, IRequest req)protected X509CertInfo[]PKIProcessor. fillCertInfoArray(java.lang.String protocolString, IAuthToken authToken, IArgBlock httpParams, IRequest req)static voidPKIProcessor. fillCertInfoFromAuthToken(X509CertInfo certInfo, IAuthToken authToken)fill subject name, validity, extensions from authoken if any, overriding what was in pkcs10.X509CertInfoCRMFProcessor. processIndividualRequest(org.mozilla.jss.pkix.crmf.CertReqMsg certReqMsg, IAuthToken authToken, IArgBlock httpParams)static voidCAProcessor. saveAuthToken(IAuthToken token, IRequest req) -
Uses of IAuthToken in com.netscape.cms.servlet.profile
Methods in com.netscape.cms.servlet.profile that return IAuthToken Modifier and Type Method Description IAuthTokenProfileSubmitCMCServlet. authenticate(IProfileAuthenticator authenticator, javax.servlet.http.HttpServletRequest request) -
Uses of IAuthToken in org.dogtagpki.legacy.server.policy.extensions
Methods in org.dogtagpki.legacy.server.policy.extensions that return IAuthToken Modifier and Type Method Description protected IAuthTokenSubjAltNameExt. findAuthToken(IRequest req, java.lang.String authMgrName)Find a particular authentication token by manager name.Methods in org.dogtagpki.legacy.server.policy.extensions with parameters of type IAuthToken Modifier and Type Method Description protected voidSubjAltNameExt. addValues(IAuthToken tok, java.lang.String attrName, java.util.Vector<java.lang.String> v)Add attribute values from an LDAP attribute to a vectorprotected java.util.Vector<java.lang.String>SubjAltNameExt. getEmailList(IAuthToken tok)Generate a String Vector containing all the email addresses found in this Authentication token
-