prometheus
Class LoginBean

java.lang.Object
  |
  +--prometheus.LoginBean

public class LoginBean
extends java.lang.Object

Login model.

alexis.grandemange@pagebox.net

Copyright (c) 2003-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 1
Author:
Alexis Grandemange

Field Summary
 java.lang.String[] aoi
          Areas of interest of the user
 java.lang.String location
          User location
 PrometheusCallback pcb
          Callback object handling users and messages
 java.lang.String user
          User name
 
Constructor Summary
  LoginBean()
          Default constructor called in login.jsp
(package private) LoginBean(java.lang.String user, java.lang.String location, java.lang.String[] aoi, PrometheusCallback pcb)
          Constructor.
 
Method Summary
 void valueBound(HttpSessionBindingEvent hsbe)
          HttpSessionBindingListener method.
 void valueUnbound(HttpSessionBindingEvent hsbe)
          HttpSessionBindingListener method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

public java.lang.String user
User name


location

public java.lang.String location
User location


aoi

public java.lang.String[] aoi
Areas of interest of the user


pcb

public PrometheusCallback pcb
Callback object handling users and messages

Constructor Detail

LoginBean

public LoginBean()
Default constructor called in login.jsp


LoginBean

LoginBean(java.lang.String user,
          java.lang.String location,
          java.lang.String[] aoi,
          PrometheusCallback pcb)
Constructor.

Parameters:
user - user name
location - user location
aoi - areas of interest of the user
Method Detail

valueBound

public void valueBound(HttpSessionBindingEvent hsbe)
HttpSessionBindingListener method. Called when the LoginBean is bound to the session. Servlet spec 2.4?


valueUnbound

public void valueUnbound(HttpSessionBindingEvent hsbe)
HttpSessionBindingListener method. Called when the LoginBean is unbound from the session.