クラス OpenSaml4AuthenticationRequestResolver
java.lang.ObjectSE
org.springframework.security.saml2.provider.service.web.authentication.OpenSaml4AuthenticationRequestResolver
- 実装されたすべてのインターフェース:
Saml2AuthenticationRequestResolver
public final class OpenSaml4AuthenticationRequestResolver
extends ObjectSE
implements Saml2AuthenticationRequestResolver
OpenSAML を使用して
HttpServletRequest
からの SAML 2.0 認証リクエストを解決するための戦略。- 導入:
- 5.7
ネストされたクラスのサマリー
ネストされたクラスフィールドサマリー
インターフェース org.springframework.security.saml2.provider.service.web.authentication.Saml2AuthenticationRequestResolver から継承されたフィールド
DEFAULT_AUTHENTICATION_REQUEST_URI
コンストラクターのサマリー
コンストラクターコンストラクター説明OpenSaml4AuthenticationRequestResolver
(RelyingPartyRegistrationResolver relyingPartyRegistrationResolver) メソッドのサマリー
修飾子と型メソッド説明<T extends AbstractSaml2AuthenticationRequest>
Tresolve
(jakarta.servlet.http.HttpServletRequest request) void
setAuthnRequestCustomizer
(ConsumerSE<OpenSaml4AuthenticationRequestResolver.AuthnRequestContext> contextConsumer) OpenSAMLAuthnRequest
を変更するためのConsumer
SE を設定しますvoid
void
setRelayStateResolver
(org.springframework.core.convert.converter.Converter<jakarta.servlet.http.HttpServletRequest, StringSE> relayStateResolver) このConverter
を使用して RelayState を計算しますvoid
setRequestMatcher
(RequestMatcher requestMatcher) OpenSamlAuthenticationRequestResolver.setRequestMatcher(RequestMatcher)
の設定に使用するRequestMatcher
を設定します (RequestMatcher)}
コンストラクターの詳細
OpenSaml4AuthenticationRequestResolver
- パラメーター:
registrations
- 信頼当事者とアサーティング当事者の構成のためのリポジトリ- 導入:
- 6.1
OpenSaml4AuthenticationRequestResolver
public OpenSaml4AuthenticationRequestResolver(RelyingPartyRegistrationResolver relyingPartyRegistrationResolver)
メソッドの詳細
resolve
public <T extends AbstractSaml2AuthenticationRequest> T resolve(jakarta.servlet.http.HttpServletRequest request) - 次で指定:
- インターフェース
Saml2AuthenticationRequestResolver
のresolve
setAuthnRequestCustomizer
public void setAuthnRequestCustomizer(ConsumerSE<OpenSaml4AuthenticationRequestResolver.AuthnRequestContext> contextConsumer) OpenSAMLAuthnRequest
を変更するためのConsumer
SE を設定します- パラメーター:
contextConsumer
-OpenSaml4AuthenticationRequestResolver.AuthnRequestContext
を受け入れるコンシューマー
setRequestMatcher
OpenSamlAuthenticationRequestResolver.setRequestMatcher(RequestMatcher)
の設定に使用するRequestMatcher
を設定します (RequestMatcher)}- パラメーター:
requestMatcher
- 認証リクエストを識別するためのRequestMatcher
。- 導入:
- 5.8
setClock
- パラメーター:
clock
- 使用するClock
SE
setRelayStateResolver
public void setRelayStateResolver(org.springframework.core.convert.converter.Converter<jakarta.servlet.http.HttpServletRequest, StringSE> relayStateResolver) このConverter
を使用して RelayState を計算します- パラメーター:
relayStateResolver
- 使用するConverter
- 導入:
- 5.8