|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.crowd.openid.server.action.BaseAction com.atlassian.crowd.openid.server.action.secure.interaction.AllowAuthentication
public class AllowAuthentication
Field Summary |
---|
Fields inherited from class com.atlassian.crowd.openid.server.action.BaseAction |
---|
actionMessageAlertColor, ALERT_BLUE, ALERT_RED, ALERT_YELLOW, authenticated, isAdministrator, openIDAuthenticationManager, openIDPropertyManager, profileManager, siteManager, userManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
AllowAuthentication()
|
Method Summary | |
---|---|
java.lang.String |
doAllow()
Allow OpenID authentication to a client site (RP). |
java.lang.String |
doAllowAlways()
Always allow OpenID authentication to a client site (RP). |
java.lang.String |
doDefault()
Display the Allow/Disallow authentication screen. |
java.lang.String |
doDeny()
Deny OpenID authentication to a client site (RP). |
Profile |
getCurrentProfile()
|
java.lang.String |
getIdentifier()
|
protected OpenIDAuthRequest |
getOpenIDAuthRequest()
Retrieve the OpenIDAuthRequest from session. |
java.util.Collection |
getOptionalAttributes()
|
ProfileAttributesHelper |
getProfileAttributesHelper()
|
long |
getProfileID()
|
java.lang.String |
getRequestingSite()
|
java.util.Collection |
getRequiredAttributes()
|
SREGAttributes |
getSregAttributes()
|
User |
getUser()
|
protected void |
removeOpenIDAuthRequest()
Removes the OpenIDAuthRequest from session. |
void |
setCurrentProfile(Profile currentProfile)
|
void |
setIdentifier(java.lang.String identifier)
|
protected void |
setOpenIDAuthResponse(OpenIDAuthResponse authResp)
Set the OpenIDAuthResponse into the request attributes. |
void |
setOptionalAttributes(java.util.Collection optionalAttributes)
|
void |
setProfileAttributesHelper(ProfileAttributesHelper profileAttributesHelper)
|
void |
setProfileID(long profileID)
|
void |
setRequestingSite(java.lang.String requestingSite)
|
void |
setRequiredAttributes(java.util.Collection requiredAttributes)
|
void |
setSregAttributes(SREGAttributes sregAttributes)
|
void |
setUser(User user)
|
Methods inherited from class com.atlassian.crowd.openid.server.action.BaseAction |
---|
addActionMessage, containsActionMessages, getActionMessageAlertColor, getAttribute, getBaseURL, getFirstAttribute, getHttpAuthenticator, getHttpReqest, getPrincipalName, getRemotePrincipal, getRequest, getSecurityServerClient, getSession, isAdministrator, isAuthenticated, lookupDomainName, setHttpAuthenticator, setOpenIDAuthenticationManager, setProfileManager, setPropertyManager, setSecurityServerClient, setSiteManager, setUserManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AllowAuthentication()
Method Detail |
---|
protected OpenIDAuthRequest getOpenIDAuthRequest()
protected void removeOpenIDAuthRequest()
protected void setOpenIDAuthResponse(OpenIDAuthResponse authResp)
authResp
- OpenIDAuthResponse, should not be null.public java.lang.String doDefault() throws java.lang.Exception
doDefault
in class com.opensymphony.xwork.ActionSupport
java.lang.Exception
public java.lang.String doAllow() throws java.lang.Exception
java.lang.Exception
public java.lang.String doAllowAlways() throws java.lang.Exception
java.lang.Exception
public java.lang.String doDeny() throws java.lang.Exception
java.lang.Exception
public java.lang.String getRequestingSite()
public void setRequestingSite(java.lang.String requestingSite)
public java.lang.String getIdentifier()
getIdentifier
in class BaseAction
public void setIdentifier(java.lang.String identifier)
public java.util.Collection getRequiredAttributes()
public void setRequiredAttributes(java.util.Collection requiredAttributes)
public java.util.Collection getOptionalAttributes()
public void setOptionalAttributes(java.util.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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |