|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.figure8.join.control.JoinAction org.figure8.join.control.action.LoginAction
public class LoginAction
Struts action used for logging in.
Field Summary | |
---|---|
static java.lang.String |
ENTER_OP
Operation code for entering the application |
protected static org.apache.commons.logging.Log |
log
Get a commons logger. |
protected UserManager |
userManager
Join application user manager. |
Fields inherited from class org.figure8.join.control.JoinAction |
---|
BODY_ATTRIBUTE, BODY_PARAMETER, EXCEPTION_KEY, GUI_KEY, OP_PARAMETER, REND_MAIN, REND_NONE, REND_PARAMETER, REND_POPUP, XHR_PARAMETER |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
LoginAction()
|
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
doExecute(java.lang.String operation,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Realize the login execution using the UserManager facade. |
void |
setUserManager(UserManager manager)
|
Methods inherited from class org.figure8.join.control.JoinAction |
---|
execute, getUserContainer, isLoggedIn, isXhrRequest, removeObsoleteForm |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
public static final java.lang.String ENTER_OP
protected UserManager userManager
Constructor Detail |
---|
public LoginAction()
Method Detail |
---|
public void setUserManager(UserManager manager)
manager
- UserManager
implementation instancepublic org.apache.struts.action.ActionForward doExecute(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
UserManager
facade.
doExecute
in class JoinAction
operation
- String representing the operation to invoke on Actionmapping
- Mapping between forwards name and path for this actionform
- The form object containing request parametersrequest
- The servlet container request wrapperresponse
- The servlet container response wrapper
java.lang.Exception
- if application is not correctly initialized
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |