|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
fr.ifremer.coser.web.actions.common.CoserAction
fr.ifremer.coser.web.actions.admin.PerformLoginAction
public class PerformLoginAction
Perform login action.
| Field Summary | |
|---|---|
protected String |
login
|
protected String |
password
|
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
PerformLoginAction()
|
|
| Method Summary | |
|---|---|
protected boolean |
equalsSHA1Password(CoserWebConfig config,
String password)
Check if sha1 password equals to config password. |
String |
execute()
|
void |
setLogin(String login)
|
void |
setPassword(String password)
|
void |
setSession(Map<String,Object> session)
|
| Methods inherited from class fr.ifremer.coser.web.actions.common.CoserAction |
|---|
getAdminEmail, getApplicationVersion |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String login
protected String password
| Constructor Detail |
|---|
public PerformLoginAction()
| Method Detail |
|---|
public void setLogin(String login)
public void setPassword(String password)
public void setSession(Map<String,Object> session)
setSession in interface org.apache.struts2.interceptor.SessionAware
public String execute()
throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportException
protected boolean equalsSHA1Password(CoserWebConfig config,
String password)
config - configpassword - password to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||