org.springframework.richclient.security
Class ClientSecurityEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.richclient.security.ClientSecurityEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationEvent, AuthenticationFailedEvent, LoginEvent, LogoutEvent

public abstract class ClientSecurityEvent
extends ApplicationEvent

Parent for all RCP security related application events.

Author:
Ben Alex, Larry Streepy
See Also:
Serialized Form

Field Summary
static org.acegisecurity.Authentication NO_AUTHENTICATION
          This token is used when the real authentication token is null and it needs to be used as the source of an event.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ClientSecurityEvent(org.acegisecurity.Authentication authentication)
          Constructor.
 
Method Summary
 
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
 

Field Detail

NO_AUTHENTICATION

public static final org.acegisecurity.Authentication NO_AUTHENTICATION
This token is used when the real authentication token is null and it needs to be used as the source of an event.

Constructor Detail

ClientSecurityEvent

public ClientSecurityEvent(org.acegisecurity.Authentication authentication)
Constructor. Use the given authentication token as the source of the event, if this is null, then the NO_AUTHENTICATION token is used instead.

Parameters:
authentication - token, may be null


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.