com.atlassian.crowd.openid.server.provider
Class OpenIDAuthResponse
java.lang.Object
com.atlassian.crowd.openid.server.provider.OpenIDAuthResponse
public class OpenIDAuthResponse
- extends Object
Constructor Summary |
OpenIDAuthResponse(String identifier,
boolean authenticated)
Creates a new OpenID authentication response object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenIDAuthResponse
public OpenIDAuthResponse(String identifier,
boolean authenticated)
- Creates a new OpenID authentication response object.
- Parameters:
identifier
- the OpenID identifier and claimed identifier.
If the claimed identifier is different, then set it with the corresponding setter.authenticated
- true if the OpenID identifier has been authenticated.
getIdentifier
public String getIdentifier()
setIdentifier
public void setIdentifier(String identifier)
getClaimedIdentifier
public String getClaimedIdentifier()
setClaimedIdentifier
public void setClaimedIdentifier(String claimedIdentifier)
getAttributes
public Map getAttributes()
setAttributes
public void setAttributes(Map attributes)
isAuthenticated
public boolean isAuthenticated()
setAuthenticated
public void setAuthenticated(boolean authenticated)
addAttribute
public void addAttribute(String name,
String value)
hasAttributes
public boolean hasAttributes()
Copyright © 2013 Atlassian. All Rights Reserved.