クラス 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) voidsetAuthenticationRequestRepository(Saml2AuthenticationRequestRepository<AbstractSaml2AuthenticationRequest> authenticationRequestRepository) 指定されたSaml2AuthenticationRequestRepositoryを使用して、認証リクエストをロードします。voidsetShouldConvertGetRequests(boolean shouldConvertGetRequests) 指定されたshouldConvertGetRequestsを使用してGETリクエストを変換します。
コンストラクターの詳細
Saml2AuthenticationTokenConverter
public Saml2AuthenticationTokenConverter(RelyingPartyRegistrationResolver relyingPartyRegistrationResolver) RelyingPartyRegistrationを解決するための戦略を指定してSaml2AuthenticationTokenConverterを構築します- パラメーター:
relyingPartyRegistrationResolver-RelyingPartyRegistrationを解決するための戦略
メソッドの詳細
convert
- 次で指定:
- インターフェース
AuthenticationConverterのconvert
setAuthenticationRequestRepository
public void setAuthenticationRequestRepository(Saml2AuthenticationRequestRepository<AbstractSaml2AuthenticationRequest> authenticationRequestRepository) 指定されたSaml2AuthenticationRequestRepositoryを使用して、認証リクエストをロードします。- パラメーター:
authenticationRequestRepository- 使用するSaml2AuthenticationRequestRepository- 導入:
- 5.6
setShouldConvertGetRequests
public void setShouldConvertGetRequests(boolean shouldConvertGetRequests) 指定されたshouldConvertGetRequestsを使用してGETリクエストを変換します。デフォルトはtrueです。- パラメーター:
shouldConvertGetRequests- 使用するshouldConvertGetRequests- 導入:
- 7.0