クラス WebXmlMappableAttributesRetriever

java.lang.ObjectSE
org.springframework.security.web.authentication.preauth.j2ee.WebXmlMappableAttributesRetriever
実装されたすべてのインターフェース:
org.springframework.beans.factory.Awareorg.springframework.beans.factory.InitializingBeanorg.springframework.context.ResourceLoaderAwareMappableAttributesRetriever

public class WebXmlMappableAttributesRetriever extends ObjectSE implements org.springframework.context.ResourceLoaderAware, MappableAttributesRetriever, org.springframework.beans.factory.InitializingBean
この MappableAttributesRetriever 実装は、定義された J2EE ロールのリストを web.xml ファイルから読み取り、{getMappableAttributes() から返します。
導入:
2.0
  • フィールドサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    protected final org.apache.commons.logging.Log
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    void
    構成された ResourceLoader を使用して web.xml ファイルをロードし、それらから mappableAttributes のセットとして使用して、ロール名要素を解析します。
    このメソッドの実装は、 GrantedAuthority にマップできるすべての文字列属性のセットを返す必要があります。
    void
    setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)

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

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
  • フィールドの詳細

    • logger

      protected final org.apache.commons.logging.Log logger
  • コンストラクターの詳細

    • WebXmlMappableAttributesRetriever

      public WebXmlMappableAttributesRetriever()
  • メソッドの詳細

    • setResourceLoader

      public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
      次で指定:
      インターフェース org.springframework.context.ResourceLoaderAwaresetResourceLoader 
    • getMappableAttributes

      public SetSE<StringSE> getMappableAttributes()
      インターフェースからコピーされた説明: MappableAttributesRetriever
      このメソッドの実装は、 GrantedAuthority にマップできるすべての文字列属性のセットを返す必要があります。
      次で指定:
      インターフェース MappableAttributesRetrievergetMappableAttributes 
      戻り値:
      すべてのマッピング可能なロールのセット
    • afterPropertiesSet

      public void afterPropertiesSet() throws ExceptionSE
      構成された ResourceLoader を使用して web.xml ファイルをロードし、それらから mappableAttributes のセットとして使用して、ロール名要素を解析します。
      次で指定:
      インターフェース org.springframework.beans.factory.InitializingBeanafterPropertiesSet 
      例外:
      ExceptionSE