Class LDAccessDecisionManager

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware, org.springframework.security.access.AccessDecisionManager

    public class LDAccessDecisionManager
    extends org.springframework.security.access.vote.UnanimousBased
    Our customization of an AffirmativeBased
    Since:
    7.5
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Summary

      Constructors 
      Constructor Description
      LDAccessDecisionManager​(List<org.springframework.security.access.AccessDecisionVoter<? extends Object>> decisionVoters)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decide​(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> properties)  
      boolean supports​(Class<?> arg0)  
      boolean supports​(org.springframework.security.access.ConfigAttribute arg0)  
      • Methods inherited from class org.springframework.security.access.vote.AbstractAccessDecisionManager

        afterPropertiesSet, getDecisionVoters, isAllowIfAllAbstainDecisions, setAllowIfAllAbstainDecisions, setMessageSource
    • Constructor Detail

      • LDAccessDecisionManager

        public LDAccessDecisionManager​(List<org.springframework.security.access.AccessDecisionVoter<? extends Object>> decisionVoters)
    • Method Detail

      • decide

        public void decide​(org.springframework.security.core.Authentication authentication,
                           Object object,
                           Collection<org.springframework.security.access.ConfigAttribute> properties)
                    throws org.springframework.security.access.AccessDeniedException,
                           org.springframework.security.authentication.InsufficientAuthenticationException
        Specified by:
        decide in interface org.springframework.security.access.AccessDecisionManager
        Overrides:
        decide in class org.springframework.security.access.vote.UnanimousBased
        Throws:
        org.springframework.security.access.AccessDeniedException
        org.springframework.security.authentication.InsufficientAuthenticationException
      • supports

        public boolean supports​(Class<?> arg0)
        Specified by:
        supports in interface org.springframework.security.access.AccessDecisionManager
        Overrides:
        supports in class org.springframework.security.access.vote.AbstractAccessDecisionManager
      • supports

        public boolean supports​(org.springframework.security.access.ConfigAttribute arg0)
        Specified by:
        supports in interface org.springframework.security.access.AccessDecisionManager
        Overrides:
        supports in class org.springframework.security.access.vote.AbstractAccessDecisionManager