クラス WebXmlMappableAttributesRetriever
java.lang.ObjectSE
org.springframework.security.web.authentication.preauth.j2ee.WebXmlMappableAttributesRetriever
- 実装されたすべてのインターフェース:
org.springframework.beans.factory.Aware
、org.springframework.beans.factory.InitializingBean
、org.springframework.context.ResourceLoaderAware
、MappableAttributesRetriever
public class WebXmlMappableAttributesRetriever
extends ObjectSE
implements org.springframework.context.ResourceLoaderAware, MappableAttributesRetriever, org.springframework.beans.factory.InitializingBean
この MappableAttributesRetriever 実装は、定義された J2EE ロールのリストを web.xml ファイルから読み取り、{
getMappableAttributes()
から返します。- 導入:
- 2.0
フィールドサマリー
フィールドコンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
構成された ResourceLoader を使用して web.xml ファイルをロードし、それらから mappableAttributes のセットとして使用して、ロール名要素を解析します。このメソッドの実装は、 GrantedAuthority にマップできるすべての文字列属性のセットを返す必要があります。void
setResourceLoader
(org.springframework.core.io.ResourceLoader resourceLoader)
フィールドの詳細
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.ResourceLoaderAware
のsetResourceLoader
getMappableAttributes
インターフェースからコピーされた説明:MappableAttributesRetriever
このメソッドの実装は、 GrantedAuthority にマップできるすべての文字列属性のセットを返す必要があります。- 次で指定:
- インターフェース
MappableAttributesRetriever
のgetMappableAttributes
- 戻り値:
- すべてのマッピング可能なロールのセット
afterPropertiesSet
構成された ResourceLoader を使用して web.xml ファイルをロードし、それらから mappableAttributes のセットとして使用して、ロール名要素を解析します。- 次で指定:
- インターフェース
org.springframework.beans.factory.InitializingBean
のafterPropertiesSet
- 例外:
ExceptionSE