Package com.mendix.core.action.user
Class LoginAction
- java.lang.Object
-
- com.mendix.core.actionmanagement.CoreAction<R>
-
- com.mendix.systemwideinterfaces.core.UserAction<ISession>
-
- com.mendix.core.action.user.LoginAction
-
- All Implemented Interfaces:
ICoreAction<ISession>
,java.util.concurrent.Callable<ISession>
public class LoginAction extends UserAction<ISession>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CURRENT_REQUEST
static java.lang.String
CURRENT_SESSION_ID_PARAM
static java.lang.String
PASSWORD_PARAM
static java.lang.String
SESSION_MANAGER_PARAM
static java.lang.String
USER_NAME_PARAM
-
Constructor Summary
Constructors Constructor Description LoginAction(IContext context, java.util.Map<java.lang.String,? extends java.lang.Object> params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISession
executeAction()
Implement this method, this method will be called when this action is executed.java.lang.String
getUserName()
-
Methods inherited from class com.mendix.systemwideinterfaces.core.UserAction
context, execute
-
Methods inherited from class com.mendix.core.actionmanagement.CoreAction
addDatavalidationFeedback, addDataValidationFeedback, call, clone, getActionName, getClonedContext, getContext, getEventObjects, getException, getMetaInfo, getState, getUnwrappedAction, handleConcurrentExecution, setActionName, setAllowsConcurrentExecution, setContext, setEventObjects, setException, setMetaInfo, setState, setSystemAction
-
-
-
-
Field Detail
-
SESSION_MANAGER_PARAM
public static final java.lang.String SESSION_MANAGER_PARAM
- See Also:
- Constant Field Values
-
USER_NAME_PARAM
public static final java.lang.String USER_NAME_PARAM
- See Also:
- Constant Field Values
-
PASSWORD_PARAM
public static final java.lang.String PASSWORD_PARAM
- See Also:
- Constant Field Values
-
CURRENT_SESSION_ID_PARAM
public static final java.lang.String CURRENT_SESSION_ID_PARAM
- See Also:
- Constant Field Values
-
CURRENT_REQUEST
public static final java.lang.String CURRENT_REQUEST
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LoginAction
public LoginAction(IContext context, java.util.Map<java.lang.String,? extends java.lang.Object> params)
-
-
Method Detail
-
executeAction
public ISession executeAction() throws java.lang.Exception
Description copied from class:UserAction
Implement this method, this method will be called when this action is executed.- Specified by:
executeAction
in classUserAction<ISession>
- Returns:
- returns the result of the execution.
- Throws:
java.lang.Exception
-
getUserName
public java.lang.String getUserName()
-
-