com.atlassian.crowd.openid.server.provider
Class OpenIDAuthResponse
java.lang.Object
com.atlassian.crowd.openid.server.provider.OpenIDAuthResponse
public class OpenIDAuthResponse
- extends java.lang.Object
Constructor Summary |
OpenIDAuthResponse(java.lang.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(java.lang.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 java.lang.String getIdentifier()
setIdentifier
public void setIdentifier(java.lang.String identifier)
getClaimedIdentifier
public java.lang.String getClaimedIdentifier()
setClaimedIdentifier
public void setClaimedIdentifier(java.lang.String claimedIdentifier)
getAttributes
public java.util.Map getAttributes()
setAttributes
public void setAttributes(java.util.Map attributes)
isAuthenticated
public boolean isAuthenticated()
setAuthenticated
public void setAuthenticated(boolean authenticated)
addAttribute
public void addAttribute(java.lang.String name,
java.lang.String value)
hasAttributes
public boolean hasAttributes()
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.