Class AuthorizedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.access.event.AbstractAuthorizationEvent
org.springframework.security.access.event.AuthorizedEvent
- All Implemented Interfaces:
Serializable
Event indicating a secure object was invoked successfully.
Published just before the secure object attempts to proceed.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionAuthorizedEvent(Object secureObject, Collection<ConfigAttribute> attributes, Authentication authentication) Construct the event. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AuthorizedEvent
public AuthorizedEvent(Object secureObject, Collection<ConfigAttribute> attributes, Authentication authentication) Construct the event.- Parameters:
secureObject- the secure objectattributes- that apply to the secure objectauthentication- that successfully called the secure object
-
-
Method Details
-
getAuthentication
-
getConfigAttributes
-