public class Login extends AbstractAgrosystAction
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationService |
authService |
protected String |
email |
protected String |
next |
protected String |
password |
attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
Login() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
getEmail() |
String |
getNext() |
String |
input() |
void |
setAuthService(AuthenticationService authService) |
void |
setEmail(String email) |
void |
setNext(String next) |
void |
setPassword(String password) |
void |
validate() |
getAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getRichNavigationContext, getSession, getWarningNotifications, initForInput, initLayoutData, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, removeValuesFromMap, setAttachmentService, setAuthorizationService, setConfig, setNavigationContextService, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, verifyAndSaveNavigationContext, writeNavigationContextCookieaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsprotected AuthenticationService authService
protected String email
protected String password
protected String next
public void setAuthService(AuthenticationService authService)
public void setEmail(String email)
public void setPassword(String password)
public void setNext(String next)
public String input() throws Exception
input in class com.opensymphony.xwork2.ActionSupportExceptionpublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportpublic String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic String getEmail()
public String getNext()
Copyright © 2013–2014 Inra. All rights reserved.