hu.elte.tribus.sf
Class UserSessionListener

java.lang.Object
  extended by hu.elte.tribus.sf.UserSessionListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionListener

public class UserSessionListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionListener

This is the piece of code that could kill clustering environment, but it wont. At least I hope so :) Depends on our application context, locates the UserTracker bean and performs login/logout operations on it. It would be nice to move the system to acegi, so all this would not be neccessary. Which is beyond scope for a 48-hours hacking contest.

Author:
kocka

Constructor Summary
UserSessionListener()
           
 
Method Summary
 void sessionCreated(javax.servlet.http.HttpSessionEvent arg0)
           
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSessionListener

public UserSessionListener()
Method Detail

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent arg0)
Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener


Copyright © 2006-2007. All Rights Reserved.