public class StandardJaccServiceImpl extends Object implements JaccService, Configurable
Modifier and Type | Class and Description |
---|---|
protected static interface |
StandardJaccServiceImpl.ContextSubjectAccess |
protected static class |
StandardJaccServiceImpl.NonPrivilegedContextSubjectAccess |
protected static class |
StandardJaccServiceImpl.PrivilegedContextSubjectAccess |
Constructor and Description |
---|
StandardJaccServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addPermission(GrantedPermission permissionDeclaration) |
void |
checkPermission(PermissionCheckEntityInformation entityInformation,
PermissibleAction action) |
void |
configure(Map configurationValues)
Configure the service.
|
protected Principal[] |
getCallerPrincipals() |
String |
getContextId()
Obtain the JACC context-id in effect for this service.
|
public void configure(Map configurationValues)
Configurable
configure
in interface Configurable
configurationValues
- The configuration properties.public String getContextId()
JaccService
null
indicates no
context is in effect (service is disabled).getContextId
in interface JaccService
public void addPermission(GrantedPermission permissionDeclaration)
addPermission
in interface JaccService
public void checkPermission(PermissionCheckEntityInformation entityInformation, PermissibleAction action)
checkPermission
in interface JaccService
protected Principal[] getCallerPrincipals()
Copyright © 2017 JBoss by Red Hat. All rights reserved.