Predictions 4.10.0.0

hirondelle.predict.pub.login
Class Login

Object
  extended by hirondelle.predict.pub.login.Login
All Implemented Interfaces:
LoginTasks

public final class Login
extends Object
implements LoginTasks

React to successful user login.

Web4j apps are required to implement the LoginTasks interface.

Places important items related to the user in session scope. One particularly important item is the user id, which is used in many places, to properly ensure operations are scoped to the correct user.


Constructor Summary
Login()
           
 
Method Summary
 boolean hasAlreadyReacted(HttpSession aSession)
           
 void reactToUserLogin(HttpSession aSession, HttpServletRequest aRequest)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Login

public Login()
Method Detail

hasAlreadyReacted

public boolean hasAlreadyReacted(HttpSession aSession)
Specified by:
hasAlreadyReacted in interface LoginTasks

reactToUserLogin

public void reactToUserLogin(HttpSession aSession,
                             HttpServletRequest aRequest)
                      throws AppException
Specified by:
reactToUserLogin in interface LoginTasks
Throws:
AppException

Predictions 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.27