Class CronapiSecurityVoter

  • All Implemented Interfaces:
    org.springframework.security.access.AccessDecisionVoter<org.springframework.security.web.FilterInvocation>

    @Component
    public class CronapiSecurityVoter
    extends Object
    implements org.springframework.security.access.AccessDecisionVoter<org.springframework.security.web.FilterInvocation>
    • Field Summary

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

        ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
    • Constructor Summary

      Constructors 
      Constructor Description
      CronapiSecurityVoter​(List<org.springframework.web.servlet.HandlerMapping> handlerMappings)  
    • Constructor Detail

      • CronapiSecurityVoter

        public CronapiSecurityVoter​(List<org.springframework.web.servlet.HandlerMapping> handlerMappings)
    • Method Detail

      • supports

        public boolean supports​(org.springframework.security.access.ConfigAttribute attribute)
        Specified by:
        supports in interface org.springframework.security.access.AccessDecisionVoter<org.springframework.security.web.FilterInvocation>
      • supports

        public boolean supports​(Class<?> clazz)
        Specified by:
        supports in interface org.springframework.security.access.AccessDecisionVoter<org.springframework.security.web.FilterInvocation>
      • vote

        public int vote​(org.springframework.security.core.Authentication authentication,
                        org.springframework.security.web.FilterInvocation filterInvocation,
                        Collection<org.springframework.security.access.ConfigAttribute> attributes)
        Specified by:
        vote in interface org.springframework.security.access.AccessDecisionVoter<org.springframework.security.web.FilterInvocation>