atg.userprofiling
Class AccessDeniedEvent

java.lang.Object
  extended by atg.userprofiling.AccessDeniedEvent
All Implemented Interfaces:
RepositoryUpdateEvent

public class AccessDeniedEvent
extends java.lang.Object
implements RepositoryUpdateEvent

An event that gets fired when a user is denied access to a page.

See Also:
AccessControlServlet, AccessDeniedListener

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
AccessDeniedEvent(java.lang.String pURL, Profile pProfile, java.lang.String pRedirectURL)
          Constructs a new AccessDeniedEvent.
 
Method Summary
 Profile getProfile()
          Returns the Profile representing the user who was denied access.
 java.lang.String getRedirectURL()
          Returns the URL that the user was redirected to after access was denied.
 RepositoryItem getUpdatedItem()
          The item whose updates should be commited after all the updates have been added to the item.
 java.lang.String getURL()
          Returns the URL of the page which the user attempted to access.
 void setUpdatedItem(RepositoryItem pValue)
          The item whose updates should be commited after all the updates have been added to the item.
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

AccessDeniedEvent

public AccessDeniedEvent(java.lang.String pURL,
                         Profile pProfile,
                         java.lang.String pRedirectURL)
Constructs a new AccessDeniedEvent.

Method Detail

getURL

public java.lang.String getURL()
Returns the URL of the page which the user attempted to access.


getProfile

public Profile getProfile()
Returns the Profile representing the user who was denied access.


getRedirectURL

public java.lang.String getRedirectURL()
Returns the URL that the user was redirected to after access was denied.


setUpdatedItem

public void setUpdatedItem(RepositoryItem pValue)
The item whose updates should be commited after all the updates have been added to the item.

Specified by:
setUpdatedItem in interface RepositoryUpdateEvent

getUpdatedItem

public RepositoryItem getUpdatedItem()
The item whose updates should be commited after all the updates have been added to the item. Defaults to the profile property.

Specified by:
getUpdatedItem in interface RepositoryUpdateEvent

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class java.lang.Object