クラス DefaultRelyingPartyRegistrationResolver

java.lang.ObjectSE
org.springframework.security.saml2.provider.service.web.DefaultRelyingPartyRegistrationResolver
実装済みのインターフェース一覧:
org.springframework.core.convert.converter.Converter<jakarta.servlet.http.HttpServletRequest, @Nullable RelyingPartyRegistration>, RelyingPartyRegistrationResolver

public final class DefaultRelyingPartyRegistrationResolver extends ObjectSE implements org.springframework.core.convert.converter.Converter<jakarta.servlet.http.HttpServletRequest, @Nullable RelyingPartyRegistration>, RelyingPartyRegistrationResolver
リクエストから登録 ID を抽出し、RelyingPartyRegistrationRepository を照会し、テンプレート値を解決することによって RelyingPartyRegistration を解決する Converter
導入:
5.4
  • コンストラクターの詳細

  • 方法の詳細

    • convert

      public @Nullable RelyingPartyRegistration convert(jakarta.servlet.http.HttpServletRequest request)
      次で指定:
      インターフェース org.springframework.core.convert.converter.Converter<jakarta.servlet.http.HttpServletRequest, @Nullable RelyingPartyRegistration> 内の convert 
    • resolve

      public @Nullable RelyingPartyRegistration resolve(jakarta.servlet.http.HttpServletRequest request, @Nullable StringSE relyingPartyRegistrationId)
      relyingPartyRegistrationId が提供されている場合は、relyingPartyRegistrationId を使用して、HTTP リクエストから RelyingPartyRegistration を解決します。
      次で指定:
      インターフェース RelyingPartyRegistrationResolver 内の resolve 
      パラメーター:
      request - HTTP リクエスト
      relyingPartyRegistrationId - RelyingPartyRegistration 識別子。null の場合は、リクエストから解決を試みる場合があります。
      戻り値:
      解決された RelyingPartyRegistration