atg.security
Class AccessEvent

java.lang.Object
  extended by atg.security.SecurityDomainEvent
      extended by atg.security.AccessEvent
Direct Known Subclasses:
AccessAllowedEvent, AccessDeniedEvent

public class AccessEvent
extends SecurityDomainEvent

An event generated by a security domain whenever a resource access is attempted.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
AccessEvent(SecurityDomain pDomain, Persona pPersona, java.lang.String pResourceName, AccessRight pAccessRight)
          Creates a new resource access event.
 
Method Summary
 AccessRight getAccessRight()
          Returns the access right that was requested.
 Persona getPersona()
          Returns the root persona of the user that attempted access.
 java.lang.String getResourceName()
          Returns the secured resource to which access was attempted.
 
Methods inherited from class atg.security.SecurityDomainEvent
getSecurityDomain, getTimestamp
 
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

AccessEvent

public AccessEvent(SecurityDomain pDomain,
                   Persona pPersona,
                   java.lang.String pResourceName,
                   AccessRight pAccessRight)
Creates a new resource access event.

Method Detail

getPersona

public Persona getPersona()
Returns the root persona of the user that attempted access.


getResourceName

public java.lang.String getResourceName()
Returns the secured resource to which access was attempted.


getAccessRight

public AccessRight getAccessRight()
Returns the access right that was requested.