org.openid4java.discovery.xri
Class XriDotNetProxyResolver

java.lang.Object
  extended by org.openid4java.discovery.xri.XriDotNetProxyResolver
All Implemented Interfaces:
XriResolver

public class XriDotNetProxyResolver
extends java.lang.Object
implements XriResolver

Author:
jbufu

Constructor Summary
XriDotNetProxyResolver()
          Public constructor for non-guice installations.
XriDotNetProxyResolver(HttpFetcherFactory httpFetcherfactory)
          Constructor for Guice installations.
 
Method Summary
 java.util.List discover(XriIdentifier xri)
          Performs OpenID discovery on the supplied XRI identifier.
 XriIdentifier parseIdentifier(java.lang.String identifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

discover

public java.util.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(java.lang.String identifier)
                              throws DiscoveryException
Specified by:
parseIdentifier in interface XriResolver
Throws:
DiscoveryException


Copyright © 2011 Sxip. All Rights Reserved.