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