com.dyuproject.openid
Class HtmlBasedDiscovery

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

public final class HtmlBasedDiscovery
extends Object
implements Discovery

Discovery mechanism to retrieve the openid.server and openid.delegate from link tags.

Author:
David Yu
Date created:
Sep 15, 2008

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.dyuproject.openid.Discovery
Discovery.UserCache
 
Constructor Summary
HtmlBasedDiscovery()
           
 
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
 

Constructor Detail

HtmlBasedDiscovery

public HtmlBasedDiscovery()
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.