public abstract class AbstractAclVoter extends java.lang.Object implements AccessDecisionVoter<org.aopalliance.intercept.MethodInvocation>
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
Constructor and Description |
---|
AbstractAclVoter() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getDomainObjectInstance(org.aopalliance.intercept.MethodInvocation invocation) |
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(org.aopalliance.intercept.MethodInvocation invocation)
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<org.aopalliance.intercept.MethodInvocation>
clazz
- the secure objecttrue
if the secure object is MethodInvocation
,
false
otherwise