public class DefaultLoginAction extends LoginAction implements PageAction
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
MailQueue |
mailQueue |
PageInstance |
pageInstance
The PageInstance property.
|
cancelReturnUrl, CAPTCHA_SESSION_ATTRIBUTE, captchaValidationFailed, confirmNewPassword, email, logger, newPassword, portofinoConfiguration, pwd, rememberMe, returnUrl, signUpForm, token, userName
context
Constructor and Description |
---|
DefaultLoginAction() |
Modifier and Type | Method and Description |
---|---|
DispatchElement |
consumePathFragment(String pathFragment)
Visits a path element.
|
String |
getApplicationName() |
PageInstance |
getPageInstance()
Returns the PageInstance of this element.
|
String |
getPageTemplate() |
PageAction |
getParent() |
org.apache.commons.collections.MultiMap |
initEmbeddedPageActions()
Lifecycle method called by templates that can include embedded pages to compute the set of pages to embed
and their locations and order.
|
Resolution |
preparePage()
A lifecycle method invoked during the dispatch phase, where a http request is translated to a dispatch
(a path in the page tree) ultimately leading to an action invocation.
|
protected void |
sendForgotPasswordEmail(String from,
String to,
String subject,
String body) |
protected void |
sendMail(String from,
String to,
String subject,
String body) |
protected void |
sendSignupConfirmationEmail(String from,
String to,
String subject,
String body) |
void |
setPageInstance(PageInstance pageInstance)
Sets the PageInstance of this element.
|
authenticate, cancel, captcha, changePassword, changePassword2, checkPasswordStrength, confirmSignUp, execute, forgotPassword, forgotPassword2, getAuthenticationPage, getCancelReturnUrl, getConfirmNewPassword, getConfirmSignUpEmailBody, getEmail, getForgotPasswordPage, getLoginPage, getNewPassword, getPortofinoConfiguration, getPwd, getRememberedUserName, getResetPasswordEmailBody, getReturnUrl, getSignUpForm, getSignUpView, getToken, getUserName, isCaptchaValidationFailed, isRememberMe, isValidReturnUrl, login, login, logout, logout, redirectToReturnUrl, redirectToReturnUrl, resetPassword, resetPassword2, setCancelReturnUrl, setConfirmNewPassword, setEmail, setNewPassword, setPwd, setRememberMe, setReturnUrl, setToken, setupSignUpForm, setUserName, signUp, signUp2, validateCaptcha, validateSignUpPassword
getContext, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getReturnUrl
setContext
public static final String copyright
public PageInstance pageInstance
public MailQueue mailQueue
protected void sendForgotPasswordEmail(String from, String to, String subject, String body)
sendForgotPasswordEmail
in class LoginAction
protected void sendSignupConfirmationEmail(String from, String to, String subject, String body)
sendSignupConfirmationEmail
in class LoginAction
public String getApplicationName()
getApplicationName
in class LoginAction
public Resolution preparePage()
PageAction
preparePage
in interface PageAction
public org.apache.commons.collections.MultiMap initEmbeddedPageActions()
PageAction
initEmbeddedPageActions
in interface PageAction
public PageInstance getPageInstance()
DispatchElement
getPageInstance
in interface DispatchElement
public void setPageInstance(PageInstance pageInstance)
DispatchElement
setPageInstance
in interface DispatchElement
public DispatchElement consumePathFragment(String pathFragment)
DispatchElement
consumePathFragment
in interface DispatchElement
pathFragment
- one of the elements of the path being visited (e.g. in /a/b/c, one path fragment might be
the string "a")public String getPageTemplate()
getPageTemplate
in interface PageAction
public PageAction getParent()
getParent
in interface PageAction