atg.security
Class AuthenticationEvent

java.lang.Object
  extended by atg.security.UserAuthorityEvent
      extended by atg.security.AuthenticationEvent
Direct Known Subclasses:
AuthenticationFailedEvent, AuthenticationSucceededEvent

public class AuthenticationEvent
extends UserAuthorityEvent

Event generated whenever an authentication is attempted by a user authority.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
AuthenticationEvent(UserAuthority pAuthority, java.lang.String pSourceName, java.lang.String pId)
           
 
Method Summary
 java.lang.String getId()
          Returns the ID of the user.
 java.lang.String getSourceName()
          Returns the name of the authentication attempt source, if any.
 
Methods inherited from class atg.security.UserAuthorityEvent
getTimestamp, getUserAuthority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

AuthenticationEvent

public AuthenticationEvent(UserAuthority pAuthority,
                           java.lang.String pSourceName,
                           java.lang.String pId)
Method Detail

getId

public java.lang.String getId()
Returns the ID of the user.


getSourceName

public java.lang.String getSourceName()
Returns the name of the authentication attempt source, if any. This might supply the name and IP address of a failed login request, for instance.