com.dyuproject.openid
Class Identifier

java.lang.Object
  extended by com.dyuproject.openid.Identifier
All Implemented Interfaces:
Serializable

public class Identifier
extends Object
implements Serializable

The openid identifier is the user-supplied openid.

Author:
David Yu
See Also:
Serialized Form

Nested Class Summary
static interface Identifier.Resolver
           
static class Identifier.ResolverCollection
           
 
Field Summary
static String ASSIGNED_PREFIX
           
static String CHECKED_PREFIX
           
 
Constructor Summary
Identifier(String id)
           
 
Method Summary
 String getId()
           
static Identifier getIdentifier(String id, Identifier.Resolver resolver, OpenIdContext context)
           
 String getUrl()
           
 boolean isResolved()
           
 boolean isUrlContentTypeXrds()
           
 void resolve(String url)
           
 void resolve(String url, boolean xrds)
           
 void resolve(String url, boolean xrds, String newId)
           
 void resolve(String url, String newId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHECKED_PREFIX

public static final String CHECKED_PREFIX
See Also:
Constant Field Values

ASSIGNED_PREFIX

public static final String ASSIGNED_PREFIX
See Also:
Constant Field Values
Constructor Detail

Identifier

public Identifier(String id)
Method Detail

resolve

public void resolve(String url)

resolve

public void resolve(String url,
                    boolean xrds)

resolve

public void resolve(String url,
                    String newId)

resolve

public void resolve(String url,
                    boolean xrds,
                    String newId)

getUrl

public String getUrl()

getId

public String getId()

isUrlContentTypeXrds

public boolean isUrlContentTypeXrds()

isResolved

public boolean isResolved()

getIdentifier

public static Identifier getIdentifier(String id,
                                       Identifier.Resolver resolver,
                                       OpenIdContext context)


Copyright © 2013. All Rights Reserved.