public class AuthorizationManagerImpl extends Object implements AuthorizationManager
AuthorizationManager interface.| Constructor and Description |
|---|
AuthorizationManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPermission(AuthorizationPermission perm)
Verifies that the
Subject associated with the current AccessControlContext
has the requested permission. |
void |
checkPermission(AuthorizationPermission perm,
String role)
Verifies that the
Subject associated with the current AccessControlContext
has the requested permission and role. |
void |
init(Cache<?,?> cache,
GlobalConfiguration globalConfiguration,
Configuration configuration,
GlobalSecurityManager globalSecurityManager,
EmbeddedCacheManager cacheManager) |
public void init(Cache<?,?> cache, GlobalConfiguration globalConfiguration, Configuration configuration, GlobalSecurityManager globalSecurityManager, EmbeddedCacheManager cacheManager)
public void checkPermission(AuthorizationPermission perm)
AuthorizationManagerSubject associated with the current AccessControlContext
has the requested permission. A SecurityException is thrown otherwise.checkPermission in interface AuthorizationManagerpublic void checkPermission(AuthorizationPermission perm, String role)
AuthorizationManagerSubject associated with the current AccessControlContext
has the requested permission and role. A SecurityException is thrown otherwise.checkPermission in interface AuthorizationManagerCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.