org.springframework.security.access.event
Class AuthorizedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.security.access.event.AbstractAuthorizationEvent
              extended by org.springframework.security.access.event.AuthorizedEvent
All Implemented Interfaces:
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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AuthorizedEvent(Object secureObject, Collection<ConfigAttribute> attributes, Authentication authentication)
          Construct the event.
 
Method Summary
 Authentication getAuthentication()
           
 Collection<ConfigAttribute> getConfigAttributes()
           
 
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
 

Constructor Detail

AuthorizedEvent

public AuthorizedEvent(Object secureObject,
                       Collection<ConfigAttribute> attributes,
                       Authentication authentication)
Construct the event.

Parameters:
secureObject - the secure object
attributes - that apply to the secure object
authentication - that successfully called the secure object
Method Detail

getAuthentication

public Authentication getAuthentication()

getConfigAttributes

public Collection<ConfigAttribute> getConfigAttributes()