クラス AuthorizationGrantedEvent<T>
java.lang.ObjectSE
java.util.EventObjectSE
org.springframework.context.ApplicationEvent
org.springframework.security.authorization.event.AuthorizationEvent
org.springframework.security.authorization.event.AuthorizationGrantedEvent<T>
- 実装されているすべてのインターフェース:
SerializableSE
,org.springframework.core.ResolvableTypeProvider
public class AuthorizationGrantedEvent<T>
extends AuthorizationEvent
implements org.springframework.core.ResolvableTypeProvider
認可が成功したことを示す
ApplicationEvent
。- 導入:
- 5.7
- 関連事項:
フィールドのサマリー
クラス java.util.EventObjectSE から継承されたフィールド
sourceSE
コンストラクターの概要
コンストラクターコンストラクター説明AuthorizationGrantedEvent
(SupplierSE<Authentication> authentication, T object, AuthorizationDecision decision) 使用すべきではありません。AuthorizationGrantedEvent
(SupplierSE<Authentication> authentication, T object, AuthorizationResult result) メソッドのサマリー
修飾子と型メソッド説明アクセスがリクエストされたオブジェクトを取得するorg.springframework.core.ResolvableType
このクラスのResolvableType
を取得します。クラス org.springframework.security.authorization.event.AuthorizationEvent から継承されたメソッド
getAuthentication, getAuthorizationDecision, getAuthorizationResult
クラス org.springframework.context.ApplicationEvent から継承されたメソッド
getTimestamp
クラス java.util.EventObjectSE から継承されたメソッド
getSource, toString
コンストラクターの詳細
AuthorizationGrantedEvent
@DeprecatedSE public AuthorizationGrantedEvent(SupplierSE<Authentication> authentication, T object, AuthorizationDecision decision) 使用すべきではありません。AuthorizationResult
を受け取るコンストラクターを使用してくださいAuthorizationGrantedEvent
public AuthorizationGrantedEvent(SupplierSE<Authentication> authentication, T object, AuthorizationResult result) - 導入:
- 6.4
メソッドの詳細
getObject
アクセスがリクエストされたオブジェクトを取得する- オーバーライド:
- クラス
AuthorizationEvent
のgetObject
- 戻り値:
- アクセスがリクエストされたオブジェクト
- 導入:
- 5.8
getResolvableType
public org.springframework.core.ResolvableType getResolvableType()このクラスのResolvableType
を取得します。- 次で指定:
- インターフェース
org.springframework.core.ResolvableTypeProvider
のgetResolvableType
- 戻り値:
ResolvableType
- 導入:
- 6.5
AuthorizationResult
を受け取るコンストラクターを使用してください