Package cronapi.rest

Class CronapiMetadataVoter

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

    @Component
    public class CronapiMetadataVoter
    extends Object
    implements org.springframework.security.access.AccessDecisionVoter<org.springframework.security.web.FilterInvocation>
    • Constructor Detail

      • CronapiMetadataVoter

        public CronapiMetadataVoter()
    • 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>