com.atlassian.crowd.openid.server.provider
Class OpenIDAuthResponse

java.lang.Object
  extended by 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.
 
Method Summary
 void addAttribute(java.lang.String name, java.lang.String value)
           
 java.util.Map getAttributes()
           
 java.lang.String getClaimedIdentifier()
           
 java.lang.String getIdentifier()
           
 boolean hasAttributes()
           
 boolean isAuthenticated()
           
 void setAttributes(java.util.Map attributes)
           
 void setAuthenticated(boolean authenticated)
           
 void setClaimedIdentifier(java.lang.String claimedIdentifier)
           
 void setIdentifier(java.lang.String identifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.