public interface AuthorizationManager
Subject
associated with the current AccessControlContext 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,
String role)
Verifies that the
Subject associated with the current AccessControlContext
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(AuthorizationPermission permission, String role)
Subject associated with the current AccessControlContext
has the requested permission and role. A SecurityException is thrown otherwise.Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.