jChatBox.Service
Class SystemLogin

java.lang.Object
  |
  +--jChatBox.Service.Login
        |
        +--jChatBox.Service.SystemLogin

public class SystemLogin
extends Login

This class implements features to login SYSTEM or MODERATOR user.


Constructor Summary
SystemLogin()
           
 
Method Summary
 java.lang.String doLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session)
          Check "name" and "password" fields from JSP form with login/password from XML configuration file.
 
Methods inherited from class jChatBox.Service.Login
boundUser, boundUser, getSysMessage, setSysMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemLogin

public SystemLogin()
Method Detail

doLogin

public java.lang.String doLogin(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpSession session)
Check "name" and "password" fields from JSP form with login/password from XML configuration file. And try to join a chatroom if "chatrooms" parameter is available in HTTP request.

Specified by:
doLogin in class Login