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