public interface AuthorizationManager
Subject
associated with the current AccessControlContext, or explicitly specified, has the requested permissions.| Modifier and Type | Method and Description |
|---|---|
void |
checkPermission(AuthorizationPermission permission)
Verifies that the
Subject associated with the current AccessControlContext
has the requested permission. |
void |
checkPermission(AuthorizationPermission permission,
java.lang.String role)
Verifies that the
Subject associated with the current AccessControlContext
has the requested permission and role. |
void |
checkPermission(javax.security.auth.Subject subject,
AuthorizationPermission permission)
Verifies that the
Subject has the requested permission. |
void |
checkPermission(javax.security.auth.Subject subject,
AuthorizationPermission permission,
java.lang.String role)
Verifies that the
Subject has the requested permission and role. |
void checkPermission(AuthorizationPermission permission)
Subject associated with the current AccessControlContext
has the requested permission. A SecurityException is thrown otherwise.void checkPermission(javax.security.auth.Subject subject,
AuthorizationPermission permission)
Subject has the requested permission. A SecurityException is thrown otherwise.void checkPermission(AuthorizationPermission permission, java.lang.String role)
Subject associated with the current AccessControlContext
has the requested permission and role. A SecurityException is thrown otherwise.void checkPermission(javax.security.auth.Subject subject,
AuthorizationPermission permission,
java.lang.String role)
Subject has the requested permission and role.
A SecurityException is thrown otherwise.