クラス InsufficientAuthenticationException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.security.core.AuthenticationException
org.springframework.security.authentication.InsufficientAuthenticationException
- 実装されたすべてのインターフェース:
SerializableSE
資格情報が十分に信頼されていないために認証リクエストが拒否された場合にスローされます。
通常、AccessDecisionVoter
は、remember-me メカニズムを使用して、または匿名で実行された場合など、認証のレベルに不満がある場合にこの例外をスローします。次に、ExceptionTranslationFilter
は通常、AuthenticationEntryPoint
を呼び出し、プリンシパルがより強力な認証レベルで認証できるようにします。
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明指定されたメッセージでInsufficientAuthenticationException
を構築します。InsufficientAuthenticationException
(StringSE msg, ThrowableSE cause) 指定されたメッセージと根本原因でInsufficientAuthenticationException
を構築します。メソッドのサマリー
クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
InsufficientAuthenticationException
指定されたメッセージでInsufficientAuthenticationException
を構築します。- パラメーター:
msg
- 詳細メッセージ
InsufficientAuthenticationException
指定されたメッセージと根本原因でInsufficientAuthenticationException
を構築します。- パラメーター:
msg
- 詳細メッセージcause
- 根本の原因