public class OpenIdLoginAction extends DefaultLoginAction implements PageAction
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
Dispatch |
dispatch
The dispatch property.
|
static String |
OPENID_CONSUMER_MANAGER |
static String |
OPENID_DISCOVERED |
static String |
OPENID_IDENTIFIER |
String |
openIdDestinationUrl |
Map |
openIdParameterMap |
String |
openIdUrl |
PageInstance |
pageInstance
The PageInstance property.
|
Configuration |
portofinoConfiguration
The global configuration object.
|
mailQueue
cancelReturnUrl, CAPTCHA_SESSION_ATTRIBUTE, captchaValidationFailed, confirmNewPassword, email, logger, newPassword, pwd, rememberMe, returnUrl, signUpForm, token, userName
context
Constructor and Description |
---|
OpenIdLoginAction() |
Modifier and Type | Method and Description |
---|---|
protected String |
getAuthenticationPage() |
protected String |
getLoginPage() |
String |
getOpenIdDestinationUrl() |
Map |
getOpenIdParameterMap() |
String |
getOpenIdUrl() |
PageInstance |
getPageInstance()
Returns the PageInstance of this element.
|
protected String |
getRememberedUserName(Serializable principal) |
Resolution |
handleOpenIDLogin() |
protected Resolution |
handleUnknownAccount(UnknownAccountException e)
Handles the case when a user has successfully completed their OpenID login, but was rejected by Security.groovy
with UnknownAccountException, meaning that the user is not known to the application and cannot log in.
|
void |
setOpenid_identifier(String openIdUrl) |
void |
setOpenIdUrl(String openIdUrl) |
void |
setPageInstance(PageInstance pageInstance)
Sets the PageInstance of this element.
|
Resolution |
showOpenIDForm() |
Resolution |
signUp2() |
consumePathFragment, getApplicationName, getPageTemplate, getParent, initEmbeddedPageActions, preparePage, sendForgotPasswordEmail, sendMail, sendSignupConfirmationEmail
authenticate, cancel, captcha, changePassword, changePassword2, checkPasswordStrength, confirmSignUp, execute, forgotPassword, forgotPassword2, getCancelReturnUrl, getConfirmNewPassword, getConfirmSignUpEmailBody, getEmail, getForgotPasswordPage, getNewPassword, getPortofinoConfiguration, getPwd, 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, validateCaptcha, validateSignUpPassword
getContext, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getPageTemplate, getParent, getReturnUrl, initEmbeddedPageActions, preparePage
setContext
consumePathFragment
public static final String copyright
public static final String OPENID_DISCOVERED
public static final String OPENID_CONSUMER_MANAGER
public static final String OPENID_IDENTIFIER
public Dispatch dispatch
public PageInstance pageInstance
public Configuration portofinoConfiguration
public String openIdUrl
public String openIdDestinationUrl
public Map openIdParameterMap
protected String getLoginPage()
getLoginPage
in class LoginAction
protected String getAuthenticationPage()
getAuthenticationPage
in class LoginAction
protected String getRememberedUserName(Serializable principal)
getRememberedUserName
in class LoginAction
public Resolution showOpenIDForm() throws org.openid4java.consumer.ConsumerException, org.openid4java.message.MessageException, org.openid4java.discovery.DiscoveryException, MalformedURLException
org.openid4java.consumer.ConsumerException
org.openid4java.message.MessageException
org.openid4java.discovery.DiscoveryException
MalformedURLException
public Resolution handleOpenIDLogin() throws org.openid4java.discovery.DiscoveryException, org.openid4java.association.AssociationException, org.openid4java.message.MessageException
org.openid4java.discovery.DiscoveryException
org.openid4java.association.AssociationException
org.openid4java.message.MessageException
protected Resolution handleUnknownAccount(UnknownAccountException e)
e
- the exception thrown by Security.groovy (which may contain additional information).public Resolution signUp2()
signUp2
in class LoginAction
public String getOpenIdUrl()
public void setOpenIdUrl(String openIdUrl)
public String getOpenIdDestinationUrl()
public Map getOpenIdParameterMap()
public void setOpenid_identifier(String openIdUrl)
public PageInstance getPageInstance()
DispatchElement
getPageInstance
in interface DispatchElement
getPageInstance
in class DefaultLoginAction
public void setPageInstance(PageInstance pageInstance)
DispatchElement
setPageInstance
in interface DispatchElement
setPageInstance
in class DefaultLoginAction