com.informationkinematics.imsforward
Class Setup

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.informationkinematics.imsforward.Littles
                    |
                    +--com.informationkinematics.imsforward.Setup
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Setup
extends Littles

Title: Setup
Description: Performs the user authentication, reads preexisting ims.ctl file contents, if any, and shows the second screen of the GUI.
Copyright: Copyright (c) 2001 by Information Kinematics under GNU General Public License (see package description for more information)
Company: Information Kinematics

Version:
0.9.2
Author:
Florian Steinsiepe, Adrian Zaugg
See Also:
Serialized Form

Fields inherited from class com.informationkinematics.imsforward.Littles
IMSFILE_ACTIVE, IMSFILE_INACTIVE, sIMSPathFromRB, sPOP3Host
 
Fields inherited from class javax.servlet.http.HttpServlet
HEADER_IFMODSINCE, HEADER_LASTMOD, LSTRING_FILE, lStrings, METHOD_DELETE, METHOD_GET, METHOD_HEAD, METHOD_OPTIONS, METHOD_POST, METHOD_PUT, METHOD_TRACE
 
Fields inherited from class javax.servlet.GenericServlet
config
 
Constructor Summary
Setup()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          doGet calls doPost using its parameters.
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          doPost reads the client's input and tries to authenticate the user on the POP3 host.
 
Methods inherited from class com.informationkinematics.imsforward.Littles
getIMSPath, init, readIMSForwardProperties
 
Methods inherited from class javax.servlet.http.HttpServlet
, doDelete, doHead, doOptions, doPut, doTrace, getAllDeclaredMethods, getLastModified, maybeSetLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Setup

public Setup()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  java.io.IOException
doGet calls doPost using its parameters.
Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
req - javax.servlet.http.HttpServletRequest
res - javax.servlet.http.HttpServletResponse

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   java.io.IOException
doPost reads the client's input and tries to authenticate the user on the POP3 host. An eventually existing ims.ctl file's contents are read.
Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
req - javax.servlet.http.HttpServletRequest
res - javax.servlet.http.HttpServletResponse