public class AllowAuthentication extends BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_RED, ALERT_YELLOW, authenticated, isAdministrator, openIDAuthenticationManager, openIDPropertyManager, profileManager, siteManager, userManager
Constructor and Description |
---|
AllowAuthentication() |
Modifier and Type | Method and Description |
---|---|
String |
doAllow()
Allow OpenID authentication to a client site (RP).
|
String |
doAllowAlways()
Always allow OpenID authentication to a client site (RP).
|
String |
doDefault()
Display the Allow/Disallow authentication screen.
|
String |
doDeny()
Deny OpenID authentication to a client site (RP).
|
Profile |
getCurrentProfile() |
String |
getIdentifier() |
protected OpenIDAuthRequest |
getOpenIDAuthRequest()
Retrieve the OpenIDAuthRequest from session.
|
Collection |
getOptionalAttributes() |
ProfileAttributesHelper |
getProfileAttributesHelper() |
long |
getProfileID() |
String |
getRequestingSite() |
Collection |
getRequiredAttributes() |
SREGAttributes |
getSregAttributes() |
User |
getUser() |
protected void |
removeOpenIDAuthRequest()
Removes the OpenIDAuthRequest from session.
|
void |
setCurrentProfile(Profile currentProfile) |
void |
setIdentifier(String identifier) |
protected void |
setOpenIDAuthResponse(OpenIDAuthResponse authResp)
Set the OpenIDAuthResponse into the request attributes.
|
void |
setOptionalAttributes(Collection optionalAttributes) |
void |
setProfileAttributesHelper(ProfileAttributesHelper profileAttributesHelper) |
void |
setProfileID(long profileID) |
void |
setRequestingSite(String requestingSite) |
void |
setRequiredAttributes(Collection requiredAttributes) |
void |
setSregAttributes(SREGAttributes sregAttributes) |
void |
setUser(User user) |
addActionMessage, baseUrl, containsActionMessages, getActionMessageAlertColor, getAttribute, getBaseURL, getFirstAttribute, getHttpAuthenticator, getHttpRequest, getPrincipalName, getRemotePrincipal, getRequest, getSecurityServerClient, getSession, getXsrfToken, getXsrfTokenName, isAdministrator, isAuthenticated, setHttpAuthenticator, setOpenIDAuthenticationManager, setProfileManager, setPropertyManager, setSecurityServerClient, setSiteManager, setUserManager, setXsrfTokenGenerator
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
protected OpenIDAuthRequest getOpenIDAuthRequest()
protected void removeOpenIDAuthRequest()
protected void setOpenIDAuthResponse(OpenIDAuthResponse authResp)
authResp
- OpenIDAuthResponse, should not be null.public String doDefault() throws Exception
doDefault
in class com.opensymphony.xwork.ActionSupport
Exception
public String doAllow() throws Exception
Exception
public String doAllowAlways() throws Exception
Exception
public String doDeny() throws Exception
Exception
public String getRequestingSite()
public void setRequestingSite(String requestingSite)
public String getIdentifier()
getIdentifier
in class BaseAction
public void setIdentifier(String identifier)
public Collection getRequiredAttributes()
public void setRequiredAttributes(Collection requiredAttributes)
public Collection getOptionalAttributes()
public void setOptionalAttributes(Collection optionalAttributes)
public User getUser()
public void setUser(User user)
public long getProfileID()
public void setProfileID(long profileID)
public Profile getCurrentProfile()
public void setCurrentProfile(Profile currentProfile)
public SREGAttributes getSregAttributes()
public void setSregAttributes(SREGAttributes sregAttributes)
public ProfileAttributesHelper getProfileAttributesHelper()
public void setProfileAttributesHelper(ProfileAttributesHelper profileAttributesHelper)
Copyright © 2013 Atlassian. All Rights Reserved.