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:
java.io.Serializable
public class AuthorizedEvent extends AbstractAuthorizationEvent
Event indicating a secure object was invoked successfully.Published just before the secure object attempts to proceed.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorizedEvent(java.lang.Object secureObject, java.util.Collection<ConfigAttribute> attributes, Authentication authentication)
Construct the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authentication
getAuthentication()
java.util.Collection<ConfigAttribute>
getConfigAttributes()
-
-
-
Constructor Detail
-
AuthorizedEvent
public AuthorizedEvent(java.lang.Object secureObject, java.util.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 Detail
-
getAuthentication
public Authentication getAuthentication()
-
getConfigAttributes
public java.util.Collection<ConfigAttribute> getConfigAttributes()
-
-