org.openid4java.discovery.xri
Class XriDotNetProxyResolver
java.lang.Object
org.openid4java.discovery.xri.XriDotNetProxyResolver
- All Implemented Interfaces:
- XriResolver
public class XriDotNetProxyResolver
- extends java.lang.Object
- implements XriResolver
- Author:
- jbufu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log
private static org.apache.commons.logging.Log _log
DEBUG
private static final boolean DEBUG
_httpFetcher
private final HttpFetcher _httpFetcher
PROXY_URL
private static final java.lang.String PROXY_URL
- See Also:
- Constant Field Values
XRDS_QUERY
private static final java.lang.String XRDS_QUERY
- See Also:
- Constant Field Values
XRDS_PARSER_CLASS_NAME_KEY
private static final java.lang.String XRDS_PARSER_CLASS_NAME_KEY
- See Also:
- Constant Field Values
XRDS_PARSER
private static final XrdsParser XRDS_PARSER
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 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 2006-2008 Sxip Identity Corporation