クラス AuthenticationEntryPointFailureHandler

    • コンストラクターの詳細

      • AuthenticationEntryPointFailureHandler

        public AuthenticationEntryPointFailureHandler​(AuthenticationEntryPoint authenticationEntryPoint)
    • メソッドの詳細

      • onAuthenticationFailure

        public void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            AuthenticationException exception)
                                     throws java.io.IOException,
                                            javax.servlet.ServletException
        インターフェースからコピーされた説明: AuthenticationFailureHandler
        認証の試行が失敗したときに呼び出されます。
        次で指定:
        インターフェース AuthenticationFailureHandler 内の onAuthenticationFailure 
        パラメーター:
        request - 認証試行が発生したリクエスト。
        response - レスポンス。
        exception - 認証リクエストを拒否するためにスローされた例外。
        例外:
        java.io.IOException
        javax.servlet.ServletException
      • setRethrowAuthenticationServiceException

        public void setRethrowAuthenticationServiceException​(boolean rethrowAuthenticationServiceException)
        AuthenticationServiceException を再スローするかどうかを設定します (デフォルトは false)
        パラメーター:
        rethrowAuthenticationServiceException - AuthenticationServiceException を再スローするかどうか
        導入:
        5.8