Class AuthorizationGrantedEvent<T>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.authorization.event.AuthorizationGrantedEvent<T>
- All Implemented Interfaces:
Serializable
public class AuthorizationGrantedEvent<T>
extends org.springframework.context.ApplicationEvent
An
ApplicationEvent
which indicates successful authorization.- Since:
- 5.7
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationGrantedEvent
(Supplier<Authentication> authentication, T object, AuthorizationDecision decision) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AuthorizationGrantedEvent
public AuthorizationGrantedEvent(Supplier<Authentication> authentication, T object, AuthorizationDecision decision)
-
-
Method Details
-
getAuthentication
-
getAuthorizationDecision
-