Class PermitAllVoter

  • All Implemented Interfaces:
    org.springframework.security.access.AccessDecisionVoter<java.lang.Object>

    public class PermitAllVoter
    extends java.lang.Object
    implements org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
    • Field Summary

      • Fields inherited from interface org.springframework.security.access.AccessDecisionVoter

        ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
    • Constructor Summary

      Constructors 
      Constructor Description
      PermitAllVoter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean supports​(java.lang.Class<?> aClass)  
      boolean supports​(org.springframework.security.access.ConfigAttribute configAttribute)  
      int vote​(org.springframework.security.core.Authentication authentication, java.lang.Object o, java.util.Collection<org.springframework.security.access.ConfigAttribute> configAttributes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PermitAllVoter

        public PermitAllVoter()
    • Method Detail

      • supports

        public boolean supports​(org.springframework.security.access.ConfigAttribute configAttribute)
        Specified by:
        supports in interface org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
      • supports

        public boolean supports​(java.lang.Class<?> aClass)
        Specified by:
        supports in interface org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
      • vote

        public int vote​(org.springframework.security.core.Authentication authentication,
                        java.lang.Object o,
                        java.util.Collection<org.springframework.security.access.ConfigAttribute> configAttributes)
        Specified by:
        vote in interface org.springframework.security.access.AccessDecisionVoter<java.lang.Object>