Class CronappSecurityVoter

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

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

      Fields 
      Modifier and Type Field Description
      protected org.apache.commons.logging.Log logger  
      • Fields inherited from interface org.springframework.security.access.AccessDecisionVoter

        ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
    • Constructor Summary

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

      • logger

        protected final org.apache.commons.logging.Log logger
    • Constructor Detail

      • CronappSecurityVoter

        public CronappSecurityVoter​(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>