com.crankuptheamps.spark
Class DefaultAuthenticatorFactory
java.lang.Object
com.crankuptheamps.spark.DefaultAuthenticatorFactory
- All Implemented Interfaces:
- AuthenticatorFactory
public class DefaultAuthenticatorFactory
- extends Object
- implements AuthenticatorFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAuthenticatorFactory
public DefaultAuthenticatorFactory()
createAuthenticator
public Authenticator createAuthenticator(String uri)
throws AuthenticationException
- Description copied from interface:
AuthenticatorFactory
- Create an Authenticator object to use for logging on. See DefaultAuthenticatorFactory for example implementation.
- Specified by:
createAuthenticator
in interface AuthenticatorFactory
- Parameters:
uri
- the unparsed uri that this authenticator should be prepared to authenticate with.
- Returns:
- A new Authenticator instance
- Throws:
AuthenticationException
- Thrown if an Authenticator cannot be created.