org.melati.login
Class Login

Package class diagram package Login
java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.melati.servlet.ConfigServlet
              extended by org.melati.servlet.PoemServlet
                  extended by org.melati.servlet.TemplateServlet
                      extended by org.melati.login.Login
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Login
extends TemplateServlet

A servlet which handles user logins.

See Also:
Serialized Form

Field Summary
static String TRIGGERING_EXCEPTION
          The triggering exception.
static String TRIGGERING_REQUEST_PARAMETERS
          Parameters,in GET format, of triggering request, so we can reconstruct it.
 
Fields inherited from class org.melati.servlet.TemplateServlet
templateEngine
 
Fields inherited from class org.melati.servlet.ConfigServlet
melatiConfig, sysAdminEmail, sysAdminName
 
Constructor Summary
Login()
           
 
Method Summary
protected  String doTemplateRequest(Melati melati, ServletTemplateContext templateContext)
          Override this method to build up your own output.
protected  LoginHandler getLoginHandler()
           
 
Methods inherited from class org.melati.servlet.TemplateServlet
addExtension, doPoemRequest, error, init, prePoemSession
 
Methods inherited from class org.melati.servlet.PoemServlet
_handleException, destroy, doConfiguredRequest, getSysAdminEmail, getSysAdminName, handleException, poemContext, poemContextWithLDB
 
Methods inherited from class org.melati.servlet.ConfigServlet
doGet, doPost, httpStatusCode, melatiConfig, setSysAdminEmail, setSysAdminName, writeConnectionPendingException, writeError
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
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
 

Field Detail

TRIGGERING_REQUEST_PARAMETERS

public static final String TRIGGERING_REQUEST_PARAMETERS
Parameters,in GET format, of triggering request, so we can reconstruct it.

See Also:
Constant Field Values

TRIGGERING_EXCEPTION

public static final String TRIGGERING_EXCEPTION
The triggering exception.

See Also:
Constant Field Values
Constructor Detail

Login

public Login()
Method Detail

getLoginHandler

protected LoginHandler getLoginHandler()

doTemplateRequest

protected String doTemplateRequest(Melati melati,
                                   ServletTemplateContext templateContext)
                            throws Exception
Description copied from class: TemplateServlet
Override this method to build up your own output.

Specified by:
doTemplateRequest in class TemplateServlet
Parameters:
melati - the current Melati
templateContext - the current ServletTemplateContext
Returns:
a Template name, possibly excluding extension.
Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.