org.springframework.security.access.event
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
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
getAuthentication
public Authentication getAuthentication()
getConfigAttributes
public java.util.Collection<ConfigAttribute> getConfigAttributes()