Class LDAccessDecisionManager

java.lang.Object
org.springframework.security.access.vote.AbstractAccessDecisionManager
org.springframework.security.access.vote.UnanimousBased
com.logicaldoc.core.security.spring.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

    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, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LDAccessDecisionManager

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

    • 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