com.dyuproject.openid
Class YadisDiscovery

java.lang.Object
  extended by com.dyuproject.openid.YadisDiscovery
All Implemented Interfaces:
Discovery

public final class YadisDiscovery
extends Object
implements Discovery

YadisDiscovery - parses xrds documents either specified by the header X_XRDS_LOCATION or the identifier itself if the content type is XRDS_CONTENT_TYPE.

Author:
David Yu
Date created:
Sep 25, 2008

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.dyuproject.openid.Discovery
Discovery.UserCache
 
Field Summary
static String IDENTIFIER_SELECT
           
 
Constructor Summary
YadisDiscovery()
           
 
Method Summary
 OpenIdUser discover(Identifier identifier, OpenIdContext context)
          Discovers the user's openid server endpoint and local id (optional).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER_SELECT

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

YadisDiscovery

public YadisDiscovery()
Method Detail

discover

public OpenIdUser discover(Identifier identifier,
                           OpenIdContext context)
                    throws Exception
Description copied from interface: Discovery
Discovers the user's openid server endpoint and local id (optional).

Specified by:
discover in interface Discovery
Throws:
Exception


Copyright © 2008-2013. All Rights Reserved.