Class ConsensusBased

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

    @Deprecated
    public class ConsensusBased
    extends AbstractAccessDecisionManager
    Deprecated.
    Simple concrete implementation of AccessDecisionManager that uses a consensus-based approach.

    "Consensus" here means majority-rule (ignoring abstains) rather than unanimous agreement (ignoring abstains). If you require unanimity, please see UnanimousBased.

    • Constructor Detail

      • ConsensusBased

        public ConsensusBased​(java.util.List<AccessDecisionVoter<?>> decisionVoters)
        Deprecated.
    • Method Detail

      • isAllowIfEqualGrantedDeniedDecisions

        public boolean isAllowIfEqualGrantedDeniedDecisions()
        Deprecated.
      • setAllowIfEqualGrantedDeniedDecisions

        public void setAllowIfEqualGrantedDeniedDecisions​(boolean allowIfEqualGrantedDeniedDecisions)
        Deprecated.