com.dyuproject.openid.ext
Class EmailResolver

java.lang.Object
  extended by com.dyuproject.openid.ext.EmailResolver
All Implemented Interfaces:
Identifier.Resolver

public class EmailResolver
extends Object
implements Identifier.Resolver

Resolves the url from a given email address

Author:
David Yu

Field Summary
static String DEFAULT_RESOURCE_LOCATION
           
 
Constructor Summary
EmailResolver()
           
EmailResolver(InputStream resource)
           
EmailResolver(Properties urls)
           
EmailResolver(String resourceLoc)
           
EmailResolver(URL resource)
           
 
Method Summary
 void add(String emailDomain, String url)
           
 void resolve(Identifier identifier, OpenIdContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RESOURCE_LOCATION

public static final String DEFAULT_RESOURCE_LOCATION
See Also:
Constant Field Values
Constructor Detail

EmailResolver

public EmailResolver()

EmailResolver

public EmailResolver(String resourceLoc)

EmailResolver

public EmailResolver(URL resource)
              throws IOException
Throws:
IOException

EmailResolver

public EmailResolver(InputStream resource)
              throws IOException
Throws:
IOException

EmailResolver

public EmailResolver(Properties urls)
Method Detail

add

public void add(String emailDomain,
                String url)

resolve

public void resolve(Identifier identifier,
                    OpenIdContext context)
Specified by:
resolve in interface Identifier.Resolver


Copyright © 2013. All Rights Reserved.