Uses of Class
org.dogtagpki.server.authorization.AuthzToken
Packages that use AuthzToken
Package
Description
-
Uses of AuthzToken in com.netscape.cms.authorization
Methods in com.netscape.cms.authorization that return AuthzTokenModifier and TypeMethodDescriptionAAclAuthz.authorize
(IAuthToken authToken, String expression) AAclAuthz.authorize
(IAuthToken authToken, String resource, 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) { logger.warn("authorize call: " + e.getMessage(), e); }BasicGroupAuthz.authorize
(IAuthToken authToken, String expression) BasicGroupAuthz.authorize
(IAuthToken authToken, String resource, String operation) -
Uses of AuthzToken in com.netscape.cms.servlet.admin
Fields in com.netscape.cms.servlet.admin declared as AuthzTokenMethods in com.netscape.cms.servlet.admin that return AuthzTokenModifier and TypeMethodDescriptionprotected AuthzToken
AdminServlet.authorize
(javax.servlet.http.HttpServletRequest req) Authorize must occur after Authenticate -
Uses of AuthzToken in com.netscape.cms.servlet.base
Methods in com.netscape.cms.servlet.base that return AuthzTokenModifier and TypeMethodDescriptionCMSServlet.authorize
(String authzMgrName, IAuthToken authToken, String resource, String operation) Authorize must occur after AuthenticateCMSServlet.authorize
(String authzMgrName, String resource, IAuthToken authToken, String exp) -
Uses of AuthzToken in com.netscape.cmscore.authorization
Methods in com.netscape.cmscore.authorization that return AuthzTokenModifier and TypeMethodDescriptionAuthzSubsystem.authorize
(String authzMgrInstName, IAuthToken authToken, String exp) AuthzSubsystem.authorize
(String authzMgrName, IAuthToken authToken, String resource, String operation) AuthzSubsystem.authorize
(String authzMgrInstName, IAuthToken authToken, String resource, String operation, String realm) Authorization to the named authorization manager instance -
Uses of AuthzToken in org.dogtagpki.server.authorization
Methods in org.dogtagpki.server.authorization that return AuthzTokenModifier and TypeMethodDescriptionIAuthzManager.authorize
(IAuthToken authToken, String expression) IAuthzManager.authorize
(IAuthToken authToken, String resource, String operation) Check if the user is authorized to perform the given operation on the given resource.