クラス InsufficientAuthenticationException

  • 実装されたすべてのインターフェース:
    java.io.Serializable

    public class InsufficientAuthenticationException
    extends AuthenticationException
    資格情報が十分に信頼されていないために認証リクエストが拒否された場合にスローされます。

    通常、AccessDecisionVoter は、remember-me メカニズムを使用して、または匿名で実行された場合など、認証のレベルに不満がある場合にこの例外をスローします。次に、ExceptionTranslationFilter は通常、AuthenticationEntryPoint を呼び出し、プリンシパルがより強力な認証レベルで認証できるようにします。

    関連事項:
    直列化された形式
    • コンストラクターのサマリー

      コンストラクター  
      コンストラクター 説明
      InsufficientAuthenticationException​(java.lang.String msg)
      指定されたメッセージで InsufficientAuthenticationException を構築します。
      InsufficientAuthenticationException​(java.lang.String msg, java.lang.Throwable cause)
      指定されたメッセージと根本原因で InsufficientAuthenticationException を構築します。
    • メソッドのサマリー

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

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • クラス java.lang.Object から継承されたメソッド

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

      • InsufficientAuthenticationException

        public InsufficientAuthenticationException​(java.lang.String msg)
        指定されたメッセージで InsufficientAuthenticationException を構築します。
        パラメーター:
        msg - 詳細メッセージ
      • InsufficientAuthenticationException

        public InsufficientAuthenticationException​(java.lang.String msg,
                                                   java.lang.Throwable cause)
        指定されたメッセージと根本原因で InsufficientAuthenticationException を構築します。
        パラメーター:
        msg - 詳細メッセージ
        cause - 根本の原因