クラス AuthenticationCredentialsNotFoundEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- org.springframework.security.access.event.AbstractAuthorizationEvent
-
- org.springframework.security.access.event.AuthenticationCredentialsNotFoundEvent
- 実装されているすべてのインターフェース:
java.io.Serializable
@Deprecated public class AuthenticationCredentialsNotFoundEvent extends AbstractAuthorizationEvent
使用すべきではありません。認証は認可から分離されました。代わりにAbstractAuthenticationFailureEvent
を検討してください。SecurityContextHolder
からAuthentication
を取得できなかったため、セキュアオブジェクトの呼び出しが失敗したことを示します。- 関連事項:
- 連載形式
コンストラクターの概要
コンストラクター コンストラクター 説明 AuthenticationCredentialsNotFoundEvent(java.lang.Object secureObject, java.util.Collection<ConfigAttribute> attributes, AuthenticationCredentialsNotFoundException credentialsNotFoundException)
使用すべきではありません。イベントを作成します。
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 非推奨のメソッド 修飾子と型 メソッド 説明 java.util.Collection<ConfigAttribute>
getConfigAttributes()
使用すべきではありません。AuthenticationCredentialsNotFoundException
getCredentialsNotFoundException()
使用すべきではありません。
コンストラクターの詳細
AuthenticationCredentialsNotFoundEvent
public AuthenticationCredentialsNotFoundEvent(java.lang.Object secureObject, java.util.Collection<ConfigAttribute> attributes, AuthenticationCredentialsNotFoundException credentialsNotFoundException)
使用すべきではありません。イベントを作成します。- パラメーター:
secureObject
- 安全なオブジェクトattributes
- 安全なオブジェクトに適用されるcredentialsNotFoundException
- 呼び出し元に例外が返されました (理由が含まれています)
メソッドの詳細
getConfigAttributes
public java.util.Collection<ConfigAttribute> getConfigAttributes()
使用すべきではありません。
getCredentialsNotFoundException
public AuthenticationCredentialsNotFoundException getCredentialsNotFoundException()
使用すべきではありません。