org.opennms.web.acegisecurity
Class AcegiSessionAttributeListenerOnmsEventBuilder
java.lang.Object
org.opennms.web.acegisecurity.AcegiSessionAttributeListenerOnmsEventBuilder
- All Implemented Interfaces:
- EventListener, HttpSessionAttributeListener
public class AcegiSessionAttributeListenerOnmsEventBuilder
- extends Object
- implements HttpSessionAttributeListener
Listens for HTTP session attribute changes and sends events when the Acegi
security context object is removed from a users session. It is assumed that
this is a precursor to the user logging out or having their session destroyed
(e.g.: because of a timeout). Cooperates with SessionNotatingLogoutHandler
to determine if the user clicked the "log out" link in the UI. Different
events are sent for a user-initiated log out vs. a session removal for
another reason.
- Author:
- DJ Gregor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGED_OUT_EVENT
public static final String LOGGED_OUT_EVENT
- See Also:
- Constant Field Values
SESSION_REMOVED_EVENT
public static final String SESSION_REMOVED_EVENT
- See Also:
- Constant Field Values
AcegiSessionAttributeListenerOnmsEventBuilder
public AcegiSessionAttributeListenerOnmsEventBuilder()
attributeAdded
public void attributeAdded(HttpSessionBindingEvent event)
- Specified by:
attributeAdded in interface HttpSessionAttributeListener
attributeRemoved
public void attributeRemoved(HttpSessionBindingEvent event)
- Specified by:
attributeRemoved in interface HttpSessionAttributeListener
attributeReplaced
public void attributeReplaced(HttpSessionBindingEvent event)
- Specified by:
attributeReplaced in interface HttpSessionAttributeListener
Copyright ? 2008. All Rights Reserved.