RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.util
Class SessionExpirationChecker

java.lang.Object
  extended by org.richfaces.photoalbum.util.SessionExpirationChecker

@RequestScoped
public class SessionExpirationChecker
extends Object

Utility class for check is the user session was expired or user were login in another browser. Observes Constants.CHECK_USER_EXPIRED_EVENT event

Author:
Andrey Markhel

Constructor Summary
SessionExpirationChecker()
           
 
Method Summary
 void checkUserExpiration(SimpleEvent se)
          Utility method for check is the user session was expired or user were login in another browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionExpirationChecker

public SessionExpirationChecker()
Method Detail

checkUserExpiration

public void checkUserExpiration(@Observes
                                SimpleEvent se)
Utility method for check is the user session was expired or user were login in another browser. Observes Constants.CHECK_USER_EXPIRED_EVENT event. Redirects to error page if user were login in another browser.

Parameters:
session - - user's session

RichFaces Photoalbum 4.3.5.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.