インターフェース AuthenticationEventMulticaster

すべての既知の実装クラス:
AuthenticationEventPublisherLifecycleAwareSessionManagerLifecycleAwareSessionManagerSupportReactiveLifecycleAwareSessionManager

public interface AuthenticationEventMulticaster
多数の AuthenticationEvent および AuthenticationErrorEvent オブジェクトを管理し、それらにイベントを発行できるオブジェクトによって実装されるインターフェース。

AuthenticationEventPublisher (通常はライフサイクルを認識する SessionManager ) は、実際にイベントを発行するためのデリゲートとして AuthenticationEventMulticaster を使用できます。

導入:
3.1
作成者:
Mark Paluch
関連事項:
  • メソッドの詳細

    • addAuthenticationListener

      void addAuthenticationListener(AuthenticationListener listener)
      AuthenticationListener を追加します。
      パラメーター:
      listener - リスナーは null であってはなりません。
    • removeAuthenticationListener

      void removeAuthenticationListener(AuthenticationListener listener)
      AuthenticationListener を削除します。
      パラメーター:
      listener - リスナーは null であってはなりません。
    • addErrorListener

      void addErrorListener(AuthenticationErrorListener listener)
      AuthenticationErrorListener を追加します。
      パラメーター:
      listener - リスナーは null であってはなりません。
    • removeErrorListener

      void removeErrorListener(AuthenticationErrorListener listener)
      AuthenticationErrorListener を削除します。
      パラメーター:
      listener - リスナーは null であってはなりません。
    • multicastEvent

      void multicastEvent(AuthenticationEvent event)
      指定されたアプリケーションイベントを適切なリスナーにマルチキャストします。
      パラメーター:
      event - マルチキャストするイベント。
    • multicastEvent

      void multicastEvent(AuthenticationErrorEvent event)
      指定されたアプリケーションイベントを適切なリスナーにマルチキャストします。
      パラメーター:
      event - マルチキャストするイベント。