クラス Saml2AuthenticationTokenConverter
java.lang.ObjectSE
org.springframework.security.saml2.provider.service.web.Saml2AuthenticationTokenConverter
- 実装されたすべてのインターフェース:
AuthenticationConverter
public final class Saml2AuthenticationTokenConverter
extends ObjectSE
implements AuthenticationConverter
AuthenticationManager
に対する認証済み SAML 2.0 アサーションに適した Saml2AuthenticationToken
を生成する AuthenticationConverter
。- 導入:
- 5.4
コンストラクターのサマリー
コンストラクターコンストラクター説明Saml2AuthenticationTokenConverter
(RelyingPartyRegistrationResolver relyingPartyRegistrationResolver) RelyingPartyRegistration
を解決するための戦略を指定してSaml2AuthenticationTokenConverter
を構築しますメソッドのサマリー
修飾子と型メソッド説明convert
(jakarta.servlet.http.HttpServletRequest request) void
setAuthenticationRequestRepository
(Saml2AuthenticationRequestRepository<AbstractSaml2AuthenticationRequest> authenticationRequestRepository) 指定されたSaml2AuthenticationRequestRepository
を使用して、認証リクエストをロードします。
コンストラクターの詳細
Saml2AuthenticationTokenConverter
public Saml2AuthenticationTokenConverter(RelyingPartyRegistrationResolver relyingPartyRegistrationResolver) RelyingPartyRegistration
を解決するための戦略を指定してSaml2AuthenticationTokenConverter
を構築します- パラメーター:
relyingPartyRegistrationResolver
-RelyingPartyRegistration
を解決するための戦略
メソッドの詳細
convert
- 次で指定:
- インターフェース
AuthenticationConverter
のconvert
setAuthenticationRequestRepository
public void setAuthenticationRequestRepository(Saml2AuthenticationRequestRepository<AbstractSaml2AuthenticationRequest> authenticationRequestRepository) 指定されたSaml2AuthenticationRequestRepository
を使用して、認証リクエストをロードします。- パラメーター:
authenticationRequestRepository
- 使用するSaml2AuthenticationRequestRepository
- 導入:
- 5.6