public abstract class AbstractAclVoter extends 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 Object |
getDomainObjectInstance(Object secureObject) |
Class |
getProcessDomainObjectClass() |
void |
setProcessDomainObjectClass(Class processDomainObjectClass) |
boolean |
supports(Class clazz)
This implementation supports only
MethodSecurityInterceptor, because it queries the
presented MethodInvocation. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupports, votepublic Class getProcessDomainObjectClass()
public void setProcessDomainObjectClass(Class processDomainObjectClass)
public boolean supports(Class clazz)
MethodSecurityInterceptor, because it queries the
presented MethodInvocation.supports in interface AccessDecisionVoterclazz - the secure objecttrue if the secure object is MethodInvocation, false otherwiseCopyright © 2021. All rights reserved.