クラス 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
使用すべきではありません。
認証は認可から分離されました。代わりに AbstractAuthenticationFailureEvent を検討してください。
SecurityContextHolder から Authentication を取得できなかったため、セキュアオブジェクトの呼び出しが失敗したことを示します。
関連事項:
  • コンストラクターの詳細

    • AuthenticationCredentialsNotFoundEvent

      public AuthenticationCredentialsNotFoundEvent(ObjectSE secureObject, CollectionSE<ConfigAttribute> attributes, AuthenticationCredentialsNotFoundException credentialsNotFoundException)
      使用すべきではありません。
      イベントを作成します。
      パラメーター:
      secureObject - 安全なオブジェクト
      attributes - 安全なオブジェクトに適用される
      credentialsNotFoundException - 呼び出し元に例外が返されました (理由が含まれています)
  • メソッドの詳細