Class AbstractAclVoter
- java.lang.Object
-
- org.springframework.security.access.vote.AbstractAclVoter
-
- All Implemented Interfaces:
AccessDecisionVoter<org.aopalliance.intercept.MethodInvocation>
- Direct Known Subclasses:
AclEntryVoter
@Deprecated public abstract class AbstractAclVoter extends java.lang.Object implements AccessDecisionVoter<org.aopalliance.intercept.MethodInvocation>
Deprecated.Now used by only-deprecated classes. Generally speaking, in-memory ACL is no longer advised, so no replacement is planned at this point.Provides helper methods for writing domain object ACL voters. Not bound to any particular ACL system.
-
-
Field Summary
-
Fields inherited from interface org.springframework.security.access.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
-
-
Constructor Summary
Constructors Constructor Description AbstractAclVoter()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.ObjectgetDomainObjectInstance(org.aopalliance.intercept.MethodInvocation invocation)Deprecated.java.lang.Class<?>getProcessDomainObjectClass()Deprecated.voidsetProcessDomainObjectClass(java.lang.Class<?> processDomainObjectClass)Deprecated.booleansupports(java.lang.Class<?> clazz)Deprecated.This implementation supports onlyMethodSecurityInterceptor, because it queries the presentedMethodInvocation.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.security.access.AccessDecisionVoter
supports, vote
-
-
-
-
Method Detail
-
getDomainObjectInstance
protected java.lang.Object getDomainObjectInstance(org.aopalliance.intercept.MethodInvocation invocation)
Deprecated.
-
getProcessDomainObjectClass
public java.lang.Class<?> getProcessDomainObjectClass()
Deprecated.
-
setProcessDomainObjectClass
public void setProcessDomainObjectClass(java.lang.Class<?> processDomainObjectClass)
Deprecated.
-
supports
public boolean supports(java.lang.Class<?> clazz)
Deprecated.This implementation supports onlyMethodSecurityInterceptor, because it queries the presentedMethodInvocation.- Specified by:
supportsin interfaceAccessDecisionVoter<org.aopalliance.intercept.MethodInvocation>- Parameters:
clazz- the secure object- Returns:
trueif the secure object isMethodInvocation,falseotherwise
-
-