com.dyuproject.openid
Class ChainedDiscovery
java.lang.Object
com.dyuproject.openid.ChainedDiscovery
- All Implemented Interfaces:
- Discovery
- Direct Known Subclasses:
- DefaultDiscovery
public class ChainedDiscovery
- extends Object
- implements Discovery
ChainedDiscovery - chains and delegates the discovery to its wrapped discoveries until an
OpenIdUser
is successfully discovered.
- Author:
- David Yu
- Date created:
- May 26, 2009
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChainedDiscovery
public ChainedDiscovery(Discovery[] discoveries)
ChainedDiscovery
public ChainedDiscovery(List<Discovery> discoveries)
discover
public final 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.