org.openid4java.discovery.xri
Class XriDotNetProxyResolver
java.lang.Object
org.openid4java.discovery.xri.XriDotNetProxyResolver
- All Implemented Interfaces:
- XriResolver
public class XriDotNetProxyResolver
- extends Object
- implements XriResolver
- Author:
- jbufu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XriDotNetProxyResolver
@Inject
public XriDotNetProxyResolver(HttpFetcherFactory httpFetcherfactory)
- Constructor for Guice installations. The default implementation
of the
HttpFetcherFactory returns HttpCaches.
XriDotNetProxyResolver
public XriDotNetProxyResolver()
- Public constructor for non-guice installations. In this case,
we use the
HttpCache-creating HttpFetcherFactory.
discover
public List discover(XriIdentifier xri)
throws DiscoveryException
- Description copied from interface:
XriResolver
- Performs OpenID discovery on the supplied XRI identifier.
- Specified by:
discover in interface XriResolver
- Parameters:
xri - The XRI identifier
- Returns:
- A list of DiscoveryInformation, ordered the discovered
priority.
- Throws:
DiscoveryException - if discovery failed.
parseIdentifier
public XriIdentifier parseIdentifier(String identifier)
throws DiscoveryException
- Specified by:
parseIdentifier in interface XriResolver
- Throws:
DiscoveryException
Copyright © 2013 Sxip. All Rights Reserved.