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 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.
  • Constructor Details

    • AbstractAclVoter

      public AbstractAclVoter()
      Deprecated.
  • Method Details

    • getDomainObjectInstance

      protected Object getDomainObjectInstance(org.aopalliance.intercept.MethodInvocation invocation)
      Deprecated.
    • getProcessDomainObjectClass

      public Class<?> getProcessDomainObjectClass()
      Deprecated.
    • setProcessDomainObjectClass

      public void setProcessDomainObjectClass(Class<?> processDomainObjectClass)
      Deprecated.
    • supports

      public boolean supports(Class<?> clazz)
      Deprecated.
      This implementation supports only MethodSecurityInterceptor, because it queries the presented MethodInvocation.
      Specified by:
      supports in interface AccessDecisionVoter<org.aopalliance.intercept.MethodInvocation>
      Parameters:
      clazz - the secure object
      Returns:
      true if the secure object is MethodInvocation, false otherwise