net.commerce.zocalo.JspSupport
Class WelcomeScreen

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.commerce.zocalo.JspSupport.ReloadablePage
              extended by net.commerce.zocalo.JspSupport.NamedUserPage
                  extended by net.commerce.zocalo.JspSupport.LoginScreen
                      extended by net.commerce.zocalo.JspSupport.WelcomeScreen
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WelcomeScreen
extends LoginScreen

See Also:
Serialized Form

Field Summary
static java.lang.String ADMIN_CREDENTIAL_MSG
           
static java.lang.String BAD_REQUEST
           
static java.lang.String PLEASE_USE_PRINTING_CHARS
           
static java.lang.String UNKNOWN_ACCOUNT_OR_PASSWORD_WARNING
           
static java.lang.String USERNAME_AND_PASSWORD_WARNING
           
static java.lang.String WELCOME_JSP
           
static java.lang.String WELCOME_NAME
           
 
Fields inherited from class net.commerce.zocalo.JspSupport.LoginScreen
LOGIN_JSP
 
Constructor Summary
WelcomeScreen()
           
 
Method Summary
 java.lang.String getPassword()
           
 java.lang.String getRequestURL(javax.servlet.http.HttpServletRequest request)
           
 boolean loginSucceeded()
           
 void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setPassword(java.lang.String password)
           
 void warn(java.lang.String msg)
           
 
Methods inherited from class net.commerce.zocalo.JspSupport.LoginScreen
getUser, getUserAsWarnable, getUserNameSelector, getWarning
 
Methods inherited from class net.commerce.zocalo.JspSupport.NamedUserPage
getUserName, setUserName
 
Methods inherited from class net.commerce.zocalo.JspSupport.ReloadablePage
addCookiesToResponse, beginTransaction, commitTransaction, doGet, doPost, redirectResult, redirectResult
 
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, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USERNAME_AND_PASSWORD_WARNING

public static final java.lang.String USERNAME_AND_PASSWORD_WARNING
See Also:
Constant Field Values

UNKNOWN_ACCOUNT_OR_PASSWORD_WARNING

public static final java.lang.String UNKNOWN_ACCOUNT_OR_PASSWORD_WARNING
See Also:
Constant Field Values

BAD_REQUEST

public static final java.lang.String BAD_REQUEST
See Also:
Constant Field Values

WELCOME_JSP

public static final java.lang.String WELCOME_JSP
See Also:
Constant Field Values

PLEASE_USE_PRINTING_CHARS

public static final java.lang.String PLEASE_USE_PRINTING_CHARS
See Also:
Constant Field Values

ADMIN_CREDENTIAL_MSG

public static final java.lang.String ADMIN_CREDENTIAL_MSG
See Also:
Constant Field Values

WELCOME_NAME

public static final java.lang.String WELCOME_NAME
See Also:
Constant Field Values
Constructor Detail

WelcomeScreen

public WelcomeScreen()
Method Detail

processRequest

public void processRequest(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
Overrides:
processRequest in class LoginScreen

warn

public void warn(java.lang.String msg)
Overrides:
warn in class LoginScreen

getRequestURL

public java.lang.String getRequestURL(javax.servlet.http.HttpServletRequest request)
Overrides:
getRequestURL in class LoginScreen

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

loginSucceeded

public boolean loginSucceeded()