ajax.gui.servlets
Class ValidateUser

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--ajax.gui.servlets.AjaxServlet
                    |
                    +--ajax.gui.servlets.ValidateUser
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, javax.servlet.SingleThreadModel

public class ValidateUser
extends AjaxServlet
implements javax.servlet.SingleThreadModel

This servlet validates user & password in order to allow the access to the AJAX system

See Also:
Serialized Form

Field Summary
protected static java.lang.String password
           
protected static java.lang.String user
           
 
Fields inherited from class ajax.gui.servlets.AjaxServlet
busy
 
Constructor Summary
ValidateUser()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          The method processing GET request
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          The method processing POST request
 
Methods inherited from class ajax.gui.servlets.AjaxServlet
accessOk, desactivateCache, getAjax, notOkMessage
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

protected static java.lang.String user

password

protected static java.lang.String password
Constructor Detail

ValidateUser

public ValidateUser()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse resp)
           throws javax.servlet.ServletException,
                  java.io.IOException
The method processing GET request
Overrides:
doGet in class javax.servlet.http.HttpServlet

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse resp)
            throws javax.servlet.ServletException,
                   java.io.IOException
The method processing POST request
Overrides:
doPost in class javax.servlet.http.HttpServlet