クラス AbstractAccessDecisionManager

java.lang.ObjectSE
org.springframework.security.access.vote.AbstractAccessDecisionManager
実装されたすべてのインターフェース:
org.springframework.beans.factory.Awareorg.springframework.beans.factory.InitializingBeanorg.springframework.context.MessageSourceAwareAccessDecisionManager
既知の直属サブクラス
AffirmativeBasedConsensusBasedUnanimousBased

@DeprecatedSE public abstract class AbstractAccessDecisionManager extends ObjectSE implements AccessDecisionManager, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
使用すべきではありません。
代わりに AuthorizationManager を使用してください
AccessDecisionManager の抽象的な実装。

AccessDecisionVoter の Bean コンテキスト定義リストの構成と、すべての投票者が投票を拒否した場合のアクセス制御動作を処理します(デフォルトではアクセスを拒否します)。

  • フィールドサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    protected final org.apache.commons.logging.Log
    使用すべきではありません。
    protected org.springframework.context.support.MessageSourceAccessor
    使用すべきではありません。
  • コンストラクターのサマリー

    コンストラクター
    修飾子
    コンストラクター
    説明
    protected
    使用すべきではありません。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    void
    使用すべきではありません。
    protected final void
    使用すべきではありません。
    使用すべきではありません。
    boolean
    使用すべきではありません。
    void
    setAllowIfAllAbstainDecisions(boolean allowIfAllAbstainDecisions)
    使用すべきではありません。
    void
    setMessageSource(org.springframework.context.MessageSource messageSource)
    使用すべきではありません。
    boolean
    supports(ClassSE<?> clazz)
    使用すべきではありません。
    すべての AccessDecisionVoter を反復処理し、それぞれが提示されたクラスをサポートできるようにします。
    boolean
    使用すべきではありません。
    この AccessDecisionManager が、渡された ConfigAttribute で提示された認可リクエストを処理できるかどうかを示します。
    使用すべきではありません。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE

    インターフェース org.springframework.security.access.AccessDecisionManager から継承されたメソッド

    decide
  • フィールドの詳細

    • logger

      protected final org.apache.commons.logging.Log logger
      使用すべきではありません。
    • messages

      protected org.springframework.context.support.MessageSourceAccessor messages
      使用すべきではありません。
  • コンストラクターの詳細

    • AbstractAccessDecisionManager

      protected AbstractAccessDecisionManager(ListSE<AccessDecisionVoter<?>> decisionVoters)
      使用すべきではありません。
  • メソッドの詳細

    • afterPropertiesSet

      public void afterPropertiesSet()
      使用すべきではありません。
      次で指定:
      インターフェース org.springframework.beans.factory.InitializingBeanafterPropertiesSet 
    • checkAllowIfAllAbstainDecisions

      protected final void checkAllowIfAllAbstainDecisions()
      使用すべきではありません。
    • getDecisionVoters

      public ListSE<AccessDecisionVoter<?>> getDecisionVoters()
      使用すべきではありません。
    • isAllowIfAllAbstainDecisions

      public boolean isAllowIfAllAbstainDecisions()
      使用すべきではありません。
    • setAllowIfAllAbstainDecisions

      public void setAllowIfAllAbstainDecisions(boolean allowIfAllAbstainDecisions)
      使用すべきではありません。
    • setMessageSource

      public void setMessageSource(org.springframework.context.MessageSource messageSource)
      使用すべきではありません。
      次で指定:
      インターフェース org.springframework.context.MessageSourceAwaresetMessageSource 
    • supports

      public boolean supports(ConfigAttribute attribute)
      使用すべきではありません。
      インターフェースからコピーされた説明: AccessDecisionManager
      この AccessDecisionManager が、渡された ConfigAttribute で提示された認可リクエストを処理できるかどうかを示します。

      これにより、AbstractSecurityInterceptor は、構成された AccessDecisionManager および / または RunAsManager および / または AfterInvocationManager が消費できるすべての構成属性をチェックできます。

      次で指定:
      インターフェース AccessDecisionManagersupports 
      パラメーター:
      attribute - AbstractSecurityInterceptor に対して構成された構成属性
      戻り値:
      この AccessDecisionManager が渡された構成属性をサポートできる場合は true
    • supports

      public boolean supports(ClassSE<?> clazz)
      使用すべきではありません。
      すべての AccessDecisionVoter を反復処理し、それぞれが提示されたクラスをサポートできるようにします。

      1 人以上の投票者が提示されたクラスをサポートできない場合、false が返されます。

      次で指定:
      インターフェース AccessDecisionManagersupports 
      パラメーター:
      clazz - 提示されている保護されたオブジェクトの型
      戻り値:
      この型がサポートされている場合は true
    • toString

      public StringSE toString()
      使用すべきではありません。
      オーバーライド:
      クラス ObjectSEtoString