public abstract class AbstractAclVoter extends java.lang.Object implements AccessDecisionVoter
Provides helper methods for writing domain object ACL voters. Is not bound to any particular ACL system.
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
Constructor and Description |
---|
AbstractAclVoter() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getDomainObjectInstance(java.lang.Object secureObject) |
java.lang.Class |
getProcessDomainObjectClass() |
void |
setProcessDomainObjectClass(java.lang.Class processDomainObjectClass) |
boolean |
supports(java.lang.Class clazz)
This implementation supports only
MethodSecurityInterceptor , because it queries the
presented MethodInvocation . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supports, vote
protected java.lang.Object getDomainObjectInstance(java.lang.Object secureObject)
public java.lang.Class getProcessDomainObjectClass()
public void setProcessDomainObjectClass(java.lang.Class processDomainObjectClass)
public boolean supports(java.lang.Class clazz)
MethodSecurityInterceptor
, because it queries the
presented MethodInvocation
.supports
in interface AccessDecisionVoter
clazz
- the secure objecttrue
if the secure object is MethodInvocation
, false
otherwise