クラス AuthenticationException

実装されたすべてのインターフェース:
SerializableSE
既知の直属サブクラス
AccountStatusExceptionActiveDirectoryAuthenticationExceptionAuthenticationCredentialsNotFoundExceptionAuthenticationServiceExceptionBadCredentialsExceptionCompromisedPasswordExceptionInsufficientAuthenticationExceptionInvalidOneTimeTokenExceptionNonceExpiredExceptionOAuth2AuthenticationExceptionPreAuthenticatedCredentialsNotFoundExceptionProviderNotFoundExceptionRememberMeAuthenticationExceptionSaml2AuthenticationExceptionSessionAuthenticationExceptionUsernameNotFoundException

public abstract class AuthenticationException extends RuntimeExceptionSE
Authentication オブジェクトに関連するすべての例外の抽象スーパークラスは、何らかの理由で無効です。
関連事項:
  • コンストラクターの詳細

    • AuthenticationException

      public AuthenticationException(StringSE msg, ThrowableSE cause)
      指定されたメッセージと根本原因で AuthenticationException を構築します。
      パラメーター:
      msg - 詳細メッセージ
      cause - 根本原因
    • AuthenticationException

      public AuthenticationException(StringSE msg)
      指定されたメッセージを使用し、根本的な原因がない AuthenticationException を構築します。
      パラメーター:
      msg - 詳細メッセージ
  • メソッドの詳細

    • getAuthenticationRequest

      public Authentication getAuthenticationRequest()
      失敗した認証試行を表す Authentication オブジェクトを取得します。

      このフィールドは、試行されましたが最終的に失敗した認証リクエストをキャプチャーし、失敗の診断とデバッグを容易にするための重要な情報を提供します。

      導入:
      6.5
    • setAuthenticationRequest

      public void setAuthenticationRequest(Authentication authenticationRequest)
      失敗した認証試行を表す Authentication オブジェクトを設定します。

      指定された authenticationRequest は null であってはなりません

      パラメーター:
      authenticationRequest - 失敗した認証試行に関連付けられた認証リクエスト
      導入:
      6.5