com.dyuproject.openid
Class RegexHtmlBasedDiscovery
java.lang.Object
com.dyuproject.openid.RegexHtmlBasedDiscovery
- All Implemented Interfaces:
- Discovery
public final class RegexHtmlBasedDiscovery
- extends Object
- implements Discovery
Same as HtmlBasedDiscvoery but uses regex to search for the openid2.provider,
openid.server, openid2.local_id and openid.delegate.
- 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 |
RegexHtmlBasedDiscovery
public RegexHtmlBasedDiscovery()
setBufferSize
public static void setBufferSize(int bufferSize)
- Sets the buffer size used by the
BufferedReader
for parsing.
getBufferSize
public static int getBufferSize()
- Gets the buffer size used by the
BufferedReader
for parsing.
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.