Class AbstractAclVoter
java.lang.Object
org.springframework.security.access.vote.AbstractAclVoter
- All Implemented Interfaces:
AccessDecisionVoter<org.aopalliance.intercept.MethodInvocation>
- Direct Known Subclasses:
AclEntryVoter
public abstract class AbstractAclVoter
extends Object
implements AccessDecisionVoter<org.aopalliance.intercept.MethodInvocation>
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
getDomainObjectInstance
(org.aopalliance.intercept.MethodInvocation invocation) Class<?>
void
setProcessDomainObjectClass
(Class<?> processDomainObjectClass) boolean
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
-
Constructor Details
-
AbstractAclVoter
public AbstractAclVoter()
-
-
Method Details
-
getDomainObjectInstance
-
getProcessDomainObjectClass
-
setProcessDomainObjectClass
-
supports
This implementation supports onlyMethodSecurityInterceptor
, because it queries the presentedMethodInvocation
.- Specified by:
supports
in interfaceAccessDecisionVoter<org.aopalliance.intercept.MethodInvocation>
- Parameters:
clazz
- the secure object- Returns:
true
if the secure object isMethodInvocation
,false
otherwise
-