com.atlassian.crowd.openid.server.action
Class ViewPublicIdentity

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.openid.server.action.BaseAction
          extended by com.atlassian.crowd.openid.server.action.ViewPublicIdentity
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, Serializable, Cloneable

public class ViewPublicIdentity
extends BaseAction

See Also:
Serialized Form

Field Summary
static org.slf4j.Logger logger
           
 
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
ViewPublicIdentity()
           
 
Method Summary
 String execute()
           
 String getIdentifier()
           
 String getName()
           
static String nameFromIdentifier(String baseUrl, String identifier)
           
static String openIdIdentifier(String baseUrl, String username)
           
 void setName(String name)
           
 
Methods inherited from class com.atlassian.crowd.openid.server.action.BaseAction
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
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doDefault, doInput, 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
 

Field Detail

logger

public static final org.slf4j.Logger logger
Constructor Detail

ViewPublicIdentity

public ViewPublicIdentity()
Method Detail

execute

public String execute()
               throws Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
Exception

getName

public String getName()

setName

public void setName(String name)

openIdIdentifier

public static String openIdIdentifier(String baseUrl,
                                      String username)

nameFromIdentifier

public static String nameFromIdentifier(String baseUrl,
                                        String identifier)
                                 throws IdentifierViolationException
Throws:
IdentifierViolationException

getIdentifier

public String getIdentifier()
Overrides:
getIdentifier in class BaseAction


Copyright © 2013 Atlassian. All Rights Reserved.