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 |
checkPermission(Subject subject,
AuthorizationPermission perm)
Verifies that the
Subject has the requested permission. |
void |
checkPermission(Subject subject,
AuthorizationPermission perm,
String role)
Verifies that the
Subject has the requested permission and role. |
void |
init(String cacheName,
GlobalConfiguration globalConfiguration,
Configuration configuration,
GlobalSecurityManager globalSecurityManager,
EmbeddedCacheManager cacheManager) |
public void init(String cacheName, GlobalConfiguration globalConfiguration, Configuration configuration, GlobalSecurityManager globalSecurityManager, EmbeddedCacheManager cacheManager)
public void checkPermission(AuthorizationPermission perm)
AuthorizationManager
Subject
associated with the current AccessControlContext
has the requested permission. A SecurityException
is thrown otherwise.checkPermission
in interface AuthorizationManager
public void checkPermission(Subject subject, AuthorizationPermission perm)
AuthorizationManager
Subject
has the requested permission. A SecurityException
is thrown otherwise.checkPermission
in interface AuthorizationManager
public void checkPermission(AuthorizationPermission perm, String role)
AuthorizationManager
Subject
associated with the current AccessControlContext
has the requested permission and role. A SecurityException
is thrown otherwise.checkPermission
in interface AuthorizationManager
public void checkPermission(Subject subject, AuthorizationPermission perm, String role)
AuthorizationManager
Subject
has the requested permission and role.
A SecurityException
is thrown otherwise.checkPermission
in interface AuthorizationManager
Copyright © 2021 JBoss by Red Hat. All rights reserved.