クラス AuthenticationSwitchUserEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- org.springframework.security.authentication.event.AbstractAuthenticationEvent
-
- org.springframework.security.web.authentication.switchuser.AuthenticationSwitchUserEvent
- 実装されたすべてのインターフェース:
java.io.Serializable
public class AuthenticationSwitchUserEvent extends AbstractAuthenticationEvent
ユーザーコンテキストの切り替えを示すアプリケーションイベント。- 関連事項:
- 直列化された形式
コンストラクターのサマリー
コンストラクター コンストラクター 説明 AuthenticationSwitchUserEvent(Authentication authentication, UserDetails targetUser)
ユーザーコンテキストイベントコンストラクターの切り替え
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 UserDetails
getTargetUser()
クラス org.springframework.security.authentication.event.AbstractAuthenticationEvent から継承されたメソッド
getAuthentication
コンストラクターの詳細
AuthenticationSwitchUserEvent
public AuthenticationSwitchUserEvent(Authentication authentication, UserDetails targetUser)
ユーザーコンテキストイベントコンストラクターの切り替え- パラメーター:
authentication
- 現在のAuthentication
オブジェクトtargetUser
- ターゲットユーザー
メソッドの詳細
getTargetUser
public UserDetails getTargetUser()