クラス WebSpherePreAuthenticatedWebAuthenticationDetailsSource
- java.lang.Object
-
- org.springframework.security.web.authentication.preauth.websphere.WebSpherePreAuthenticatedWebAuthenticationDetailsSource
- 実装されたすべてのインターフェース:
AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails>
public class WebSpherePreAuthenticatedWebAuthenticationDetailsSource extends java.lang.Object implements AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails>
この AuthenticationDetailsSource 実装は、構成された Attributes2GrantedAuthoritiesMapper を使用してマップされた、現在の WebSphere ユーザーの WebSphere グループに基づいて、事前認証された許可権限を設定します。
コンストラクターのサマリー
コンストラクター コンストラクター 説明 WebSpherePreAuthenticatedWebAuthenticationDetailsSource()
WebSpherePreAuthenticatedWebAuthenticationDetailsSource(org.springframework.security.web.authentication.preauth.websphere.WASUsernameAndGroupsExtractor wasHelper)
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
buildDetails(javax.servlet.http.HttpServletRequest context)
新しい認証詳細インスタンスの作成を希望するときにクラスによって呼び出されます。void
setWebSphereGroups2GrantedAuthoritiesMapper(Attributes2GrantedAuthoritiesMapper mapper)
コンストラクターの詳細
WebSpherePreAuthenticatedWebAuthenticationDetailsSource
public WebSpherePreAuthenticatedWebAuthenticationDetailsSource()
WebSpherePreAuthenticatedWebAuthenticationDetailsSource
public WebSpherePreAuthenticatedWebAuthenticationDetailsSource(org.springframework.security.web.authentication.preauth.websphere.WASUsernameAndGroupsExtractor wasHelper)
メソッドの詳細
buildDetails
public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails buildDetails(javax.servlet.http.HttpServletRequest context)
インターフェースからコピーされた説明:AuthenticationDetailsSource
新しい認証詳細インスタンスの作成を希望するときにクラスによって呼び出されます。- 次で指定:
- インターフェース
AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails>
のbuildDetails
- パラメーター:
context
- 認証詳細オブジェクトによって使用されるリクエストオブジェクト- 戻り値:
- 完全に構成された認証詳細インスタンス
setWebSphereGroups2GrantedAuthoritiesMapper
public void setWebSphereGroups2GrantedAuthoritiesMapper(Attributes2GrantedAuthoritiesMapper mapper)
- パラメーター:
mapper
- WAS グループを権限に変換するために使用する Attributes2GrantedAuthoritiesMapper