パッケージ org.springframework.security.web.authentication.preauth.j2ee
パッケージ org.springframework.security.web.authentication.preauth.j2ee
コンテナー認証リクエストの事前認証サポート。
標準の JEE セキュリティが構成され、Spring Security が HttpServletRequest によって公開されたセキュリティメソッドにフックして、ユーザーの Authentication オブジェクトを構築することを前提としています。
- クラスクラス説明ユーザーの J2EE ロール(
HttpServletRequest.isUserInRole(String)を呼び出して取得したもの)をGrantedAuthorityに変換し、認証詳細オブジェクトに格納する AuthenticationDetailsSource の実装。この AbstractPreAuthenticatedProcessingFilter 実装は、J2EE コンテナーベースの認証メカニズムに基づいています。この MappableAttributesRetriever 実装は、定義された J2EE ロールのリストを web.xml ファイルから読み取り、{WebXmlMappableAttributesRetriever.getMappableAttributes()から返します。