com.mf.roundhouse.core.action
Class LoginAction
java.lang.Object
Action
com.mf.roundhouse.core.action.RoundhouseAction
com.mf.roundhouse.core.action.LoginAction
- public class LoginAction
- extends RoundhouseAction
- Author:
- Jeffrey Payne
- See Also:
- Serialized Form
Method Summary |
static java.lang.String |
findUserIdCookie(HttpServletRequest request)
Search for the persistentLogin RH_USERID cookie. |
protected Permission |
getPermission()
|
protected ActionForward |
roundhouseProcess(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
|
void |
saveUserIdCookie(HttpServletRequest request,
HttpServletResponse response,
java.lang.String userid)
Save the UserIdCookie to the users browser. |
Methods inherited from class com.mf.roundhouse.core.action.RoundhouseAction |
asIdentifier, asIdString, execute, getSessionCollaborator, handleAccessError, isAuthorized, nullify, preProcess, preProcessAuthorized, preProcessValidateUserSetup, setLastActionCalled, setSavedChangesMessage, skipValidation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USERID_COOKIE
public static java.lang.String USERID_COOKIE
SAVED_USERID
public static java.lang.String SAVED_USERID
LoginAction
public LoginAction()
roundhouseProcess
protected ActionForward roundhouseProcess(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws java.lang.Exception
- Specified by:
roundhouseProcess
in class RoundhouseAction
- Throws:
java.lang.Exception
findUserIdCookie
public static java.lang.String findUserIdCookie(HttpServletRequest request)
- Search for the persistentLogin RH_USERID cookie. If found, return it.
- Parameters:
request
-
- Returns:
saveUserIdCookie
public void saveUserIdCookie(HttpServletRequest request,
HttpServletResponse response,
java.lang.String userid)
throws java.lang.Exception
- Save the UserIdCookie to the users browser.
- Parameters:
request
- response
- userid
-
- Throws:
java.lang.Exception
getPermission
protected Permission getPermission()
- Specified by:
getPermission
in class RoundhouseAction
Copyright © 2004 Media Fortress, LLC. Licensed for commercial use under the Apache 2.0 License.