クラス AuthenticationCredentialsNotFoundEvent
java.lang.ObjectSE
java.util.EventObjectSE
org.springframework.context.ApplicationEvent
org.springframework.security.access.event.AbstractAuthorizationEvent
org.springframework.security.access.event.AuthenticationCredentialsNotFoundEvent
- 実装されたすべてのインターフェース:
SerializableSE
@DeprecatedSE
public class AuthenticationCredentialsNotFoundEvent
extends AbstractAuthorizationEvent
使用すべきではありません。
SecurityContextHolder
から Authentication
を取得できなかったため、セキュアオブジェクトの呼び出しが失敗したことを示します。- 関連事項:
フィールドサマリー
クラス java.util.EventObjectSE から継承されたフィールド
sourceSE
コンストラクターのサマリー
コンストラクターコンストラクター説明AuthenticationCredentialsNotFoundEvent
(ObjectSE secureObject, CollectionSE<ConfigAttribute> attributes, AuthenticationCredentialsNotFoundException credentialsNotFoundException) 使用すべきではありません。イベントを作成します。メソッドのサマリー
修飾子と型メソッド説明使用すべきではありません。使用すべきではありません。クラス org.springframework.context.ApplicationEvent から継承されたメソッド
getTimestamp
クラス java.util.EventObjectSE から継承されたメソッド
getSource, toString
コンストラクターの詳細
AuthenticationCredentialsNotFoundEvent
public AuthenticationCredentialsNotFoundEvent(ObjectSE secureObject, CollectionSE<ConfigAttribute> attributes, AuthenticationCredentialsNotFoundException credentialsNotFoundException) 使用すべきではありません。イベントを作成します。- パラメーター:
secureObject
- 安全なオブジェクトattributes
- 安全なオブジェクトに適用されるcredentialsNotFoundException
- 呼び出し元に例外が返されました (理由が含まれています)
メソッドの詳細
getConfigAttributes
使用すべきではありません。getCredentialsNotFoundException
使用すべきではありません。
AbstractAuthenticationFailureEvent
を検討してください。