|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.appfuse.webapp.action.LoginServlet
Implementation of HttpServlet that is used to get a username and password and encrypt the password before sending to container-managed authentication.
| Constructor Summary | |
LoginServlet()
|
|
| Method Summary | |
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Route the user to the execute method |
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Route the user to the execute method |
void |
execute(HttpServletRequest request,
HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it). |
void |
init()
Validates the Init and Context parameters, configures authentication URL |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, 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 |
| Constructor Detail |
public LoginServlet()
| Method Detail |
public void init()
throws ServletException
ServletException - if the init parameters are invalid or any
other problems occur during initialisation
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
request - The HTTP request we are processingresponse - The HTTP response we are creating
IOException - if an input/output error occurs
ServletException - if a servlet exception occurs
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
request - The HTTP request we are processingresponse - The HTTP response we are creating
IOException - if an input/output error occurs
ServletException - if a servlet exception occurs
public void execute(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
request - The HTTP request we are processingresponse - The HTTP response we are creating
IOException - if an input/output error occurs
ServletException - if a servlet exception occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||