public abstract class AbstractAclProvider extends Object implements AfterInvocationProvider
Constructor and Description |
---|
AbstractAclProvider(AclService aclService,
String processConfigAttribute,
Permission[] requirePermission) |
Modifier and Type | Method and Description |
---|---|
protected Class |
getProcessDomainObjectClass() |
protected boolean |
hasPermission(Authentication authentication,
Object domainObject) |
void |
setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) |
protected void |
setProcessConfigAttribute(String processConfigAttribute) |
void |
setProcessDomainObjectClass(Class processDomainObjectClass) |
void |
setSidRetrievalStrategy(SidRetrievalStrategy sidRetrievalStrategy) |
boolean |
supports(Class clazz)
This implementation supports any type of class, because it does not query the presented secure object.
|
boolean |
supports(ConfigAttribute attribute)
Indicates whether this
AfterInvocationProvider is able to participate in a decision
involving the passed ConfigAttribute . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decide
public AbstractAclProvider(AclService aclService, String processConfigAttribute, Permission[] requirePermission)
protected Class getProcessDomainObjectClass()
protected boolean hasPermission(Authentication authentication, Object domainObject)
public void setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy)
protected void setProcessConfigAttribute(String processConfigAttribute)
public void setProcessDomainObjectClass(Class processDomainObjectClass)
public void setSidRetrievalStrategy(SidRetrievalStrategy sidRetrievalStrategy)
public boolean supports(ConfigAttribute attribute)
AfterInvocationProvider
AfterInvocationProvider
is able to participate in a decision
involving the passed ConfigAttribute
.This allows the
AbstractSecurityInterceptor
to check every configuration attribute can be consumed by the
configured AccessDecisionManager
and/or RunAsManager
and/or
AccessDecisionManager
.
supports
in interface AfterInvocationProvider
attribute
- a configuration attribute that has been configured against the
AbstractSecurityInterceptor
AfterInvocationProvider
can support the passed configuration attributepublic boolean supports(Class clazz)
supports
in interface AfterInvocationProvider
clazz
- the secure objecttrue
Copyright © 2018. All rights reserved.