public class AllowAuthentication extends BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_RED, ALERT_YELLOW, openIDAuthenticationManager, openIDPropertyManager, profileManager, siteManager, userManager
Constructor and Description |
---|
AllowAuthentication() |
Modifier and Type | Method and Description |
---|---|
String |
allow()
Allow OpenID authentication to a client site (RP).
|
String |
allowAlways()
Always allow OpenID authentication to a client site (RP).
|
String |
deny()
Deny OpenID authentication to a client site (RP).
|
String |
execute()
Display the Allow/Disallow authentication screen.
|
Profile |
getCurrentProfile() |
String |
getIdentifier() |
Collection |
getOptionalAttributes() |
ProfileAttributesHelper |
getProfileAttributesHelper() |
long |
getProfileID() |
String |
getRequestingSite() |
Collection |
getRequiredAttributes() |
SREGAttributes |
getSregAttributes() |
User |
getUser() |
void |
setCurrentProfile(Profile currentProfile) |
void |
setIdentifier(String identifier) |
void |
setOptionalAttributes(Collection optionalAttributes) |
void |
setProfileID(long profileID) |
void |
setRequestingSite(String requestingSite) |
void |
setRequiredAttributes(Collection requiredAttributes) |
void |
setSregAttributes(SREGAttributes sregAttributes) |
void |
setUser(User user) |
addActionMessage, baseUrl, containsActionMessages, getActionMessageAlertColor, getBaseURL, getCrowdClient, getCrowdHttpAuthenticator, getPrincipalName, getRemotePrincipal, getRequest, getSession, getXsrfToken, getXsrfTokenName, isAdministrator, isAuthenticated, setCrowdClient, setCrowdHttpAuthenticator, setOpenIDAuthenticationManager, setProfileManager, setPropertyManager, setSiteManager, setUserManager, setXsrfTokenGenerator
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
public String allow() throws Exception
Exception
public String allowAlways() throws Exception
Exception
public String deny() 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()
Copyright © 2020 Atlassian. All rights reserved.