クラス Saml2WebSsoAuthenticationRequestFilter

java.lang.ObjectSE
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.springframework.security.saml2.provider.service.web.Saml2WebSsoAuthenticationRequestFilter
実装されたすべてのインターフェース:
jakarta.servlet.Filterorg.springframework.beans.factory.Awareorg.springframework.beans.factory.BeanNameAwareorg.springframework.beans.factory.DisposableBeanorg.springframework.beans.factory.InitializingBeanorg.springframework.context.EnvironmentAwareorg.springframework.core.env.EnvironmentCapableorg.springframework.web.context.ServletContextAware

public class Saml2WebSsoAuthenticationRequestFilter extends org.springframework.web.filter.OncePerRequestFilter
この Filter は SAML 2.0 AuthnRequest(1968 行目)を作成し、構成されたアサーティングパーティにリダイレクトします。

HTTP リダイレクト(行 520)および HTTP-POST(行 753)バインディングをサポートします。

デフォルトでは、この Filter は URI/saml2/authenticate/{registrationId} での認証リクエストに応答します。URI テンプレート変数 {registrationId} は、認証リクエストを開始するために使用される証明書利用者の registration identifier を表します。

導入:
5.2
  • フィールドサマリー

    クラス org.springframework.web.filter.OncePerRequestFilter から継承されたフィールド

    ALREADY_FILTERED_SUFFIX

    クラス org.springframework.web.filter.GenericFilterBean から継承されたフィールド

    logger
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
    AuthnRequest を解決するための戦略で Saml2WebSsoAuthenticationRequestFilter を構築します
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    protected void
    doFilterInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.FilterChain filterChain)
    void
    指定された Saml2AuthenticationRequestRepository を使用して、認証リクエストを保存します

    クラス org.springframework.web.filter.OncePerRequestFilter から継承されたメソッド

    doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch

    クラス org.springframework.web.filter.GenericFilterBean から継承されたメソッド

    addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
  • コンストラクターの詳細

    • Saml2WebSsoAuthenticationRequestFilter

      public Saml2WebSsoAuthenticationRequestFilter(Saml2AuthenticationRequestResolver authenticationRequestResolver)
      AuthnRequest を解決するための戦略で Saml2WebSsoAuthenticationRequestFilter を構築します
      パラメーター:
      authenticationRequestResolver - AuthnRequest を解決するための戦略
      導入:
      5.7
  • メソッドの詳細