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, userNamecontext| 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, validateSignUpPasswordgetContext, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getReturnUrlsetContextpublic static final String copyright
public PageInstance pageInstance
public MailQueue mailQueue
protected void sendForgotPasswordEmail(String from, String to, String subject, String body)
sendForgotPasswordEmail in class LoginActionprotected void sendSignupConfirmationEmail(String from, String to, String subject, String body)
sendSignupConfirmationEmail in class LoginActionpublic String getApplicationName()
getApplicationName in class LoginActionpublic Resolution preparePage()
PageActionpreparePage in interface PageActionpublic org.apache.commons.collections.MultiMap initEmbeddedPageActions()
PageActioninitEmbeddedPageActions in interface PageActionpublic PageInstance getPageInstance()
DispatchElementgetPageInstance in interface DispatchElementpublic void setPageInstance(PageInstance pageInstance)
DispatchElementsetPageInstance in interface DispatchElementpublic DispatchElement consumePathFragment(String pathFragment)
DispatchElementconsumePathFragment in interface DispatchElementpathFragment - 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 PageActionpublic PageAction getParent()
getParent in interface PageAction