クラス OAuth2AuthorizationCodeGrantFilter

    • フィールドサマリー

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

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

        logger
    • メソッドのサマリー

      すべてのメソッド   インスタンスメソッド   具象メソッド  
      修飾子と型 メソッド 説明
      protected voiddoFilterInternal​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
      voidsetAuthorizationRequestRepository​(AuthorizationRequestRepository<OAuth2AuthorizationRequest> authorizationRequestRepository)
      格納された OAuth2AuthorizationRequest のリポジトリを設定します。
      voidsetRequestCache​(RequestCache requestCache)
      以前に保存されたリクエスト(利用可能な場合)をロードし、OAuth 2.0 Authorization Response の処理が完了した後にそれを再生するために使用される RequestCache を設定します。
      • クラス 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.Object から継承されたメソッド

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

      • OAuth2AuthorizationCodeGrantFilter

        public OAuth2AuthorizationCodeGrantFilter​(ClientRegistrationRepository clientRegistrationRepository,
                                                  OAuth2AuthorizedClientRepository authorizedClientRepository,
                                                  AuthenticationManager authenticationManager)
        指定されたパラメーターを使用して OAuth2AuthorizationCodeGrantFilter を構築します。
        パラメーター:
        clientRegistrationRepository - クライアント登録のリポジトリ
        authorizedClientRepository - 認可されたクライアントリポジトリ
        authenticationManager - 認証マネージャー
    • メソッドの詳細

      • setRequestCache

        public final void setRequestCache​(RequestCache requestCache)
        以前に保存されたリクエスト(利用可能な場合)をロードし、OAuth 2.0 Authorization Response の処理が完了した後にそれを再生するために使用される RequestCache を設定します。
        パラメーター:
        requestCache - 以前に保存されたリクエストをロードするために使用されるキャッシュ (使用可能な場合)
        導入:
        5.4
      • doFilterInternal

        protected void doFilterInternal​(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        javax.servlet.FilterChain filterChain)
                                 throws javax.servlet.ServletException,
                                        java.io.IOException
        次で指定:
        クラス org.springframework.web.filter.OncePerRequestFilterdoFilterInternal 
        例外:
        javax.servlet.ServletException
        java.io.IOException