superviseur.net.servlets
Class LoginHandlerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
superviseur.net.servlets.LoginHandlerServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class LoginHandlerServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Method Summary |
protected boolean |
allowUser(java.lang.String user,
java.lang.String passwd,
boolean isAdmin)
|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
void |
init(javax.servlet.ServletConfig config)
|
protected boolean |
isAdmin(java.lang.String login)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doOptions, doPut, doTrace, getLastModified, 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, toString, wait, wait, wait |
tPassword
TPassword tPassword
LoginHandlerServlet
public LoginHandlerServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
doPost
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
allowUser
protected boolean allowUser(java.lang.String user,
java.lang.String passwd,
boolean isAdmin)
isAdmin
protected boolean isAdmin(java.lang.String login)