JSecurity

org.jsecurity.session
Interface SessionListener


public interface SessionListener

Interface to be implemented by components that wish to be notified of events that occur during a Session's lifecycle.

Since:
0.9
Author:
Les Hazlewood

Method Summary
 void onExpiration(Session session)
          Notification callback that occurs when the corresponding Session has expired.
 void onStart(Session session)
          Notification callback that occurs when the corresponding Session has started.
 void onStop(Session session)
          Notification callback that occurs when the corresponding Session has stopped.
 

Method Detail

onStart

void onStart(Session session)
Notification callback that occurs when the corresponding Session has started.

Parameters:
session - the session that has started.

onStop

void onStop(Session session)
Notification callback that occurs when the corresponding Session has stopped.

Parameters:
session - the session that has stopped.

onExpiration

void onExpiration(Session session)
Notification callback that occurs when the corresponding Session has expired.

Parameters:
session - the session that has expired.

JSecurity

Copyright © 2004-2008 JSecurity.