org.acegisecurity.afterinvocation
public abstract class AbstractAclProvider extends java.lang.Object implements AfterInvocationProvider
Constructor and Description |
---|
AbstractAclProvider(AclService aclService,
java.lang.String processConfigAttribute,
Permission[] requirePermission) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class |
getProcessDomainObjectClass() |
protected boolean |
hasPermission(Authentication authentication,
java.lang.Object domainObject) |
void |
setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) |
protected void |
setProcessConfigAttribute(java.lang.String processConfigAttribute) |
void |
setProcessDomainObjectClass(java.lang.Class processDomainObjectClass) |
void |
setSidRetrievalStrategy(SidRetrievalStrategy sidRetrievalStrategy) |
boolean |
supports(java.lang.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, java.lang.String processConfigAttribute, Permission[] requirePermission)
protected java.lang.Class getProcessDomainObjectClass()
protected boolean hasPermission(Authentication authentication, java.lang.Object domainObject)
public void setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy)
protected void setProcessConfigAttribute(java.lang.String processConfigAttribute)
public void setProcessDomainObjectClass(java.lang.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(java.lang.Class clazz)
supports
in interface AfterInvocationProvider
clazz
- the secure objecttrue
Copyright © 2004-2014 Interface21, Inc. All Rights Reserved.