org.subethamail.smtp.auth
Class MultipleAuthenticationHandlerFactory
java.lang.Object
org.subethamail.smtp.auth.MultipleAuthenticationHandlerFactory
- All Implemented Interfaces:
- AuthenticationHandlerFactory
- Direct Known Subclasses:
- EasyAuthenticationHandlerFactory
public class MultipleAuthenticationHandlerFactory
- extends java.lang.Object
- implements AuthenticationHandlerFactory
This handler combines the behavior of several other authentication handler factories.
- Author:
- Jeff Schnitzer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipleAuthenticationHandlerFactory
public MultipleAuthenticationHandlerFactory()
MultipleAuthenticationHandlerFactory
public MultipleAuthenticationHandlerFactory(java.util.Collection<AuthenticationHandlerFactory> factories)
addFactory
public void addFactory(AuthenticationHandlerFactory fact)
getAuthenticationMechanisms
public java.util.List<java.lang.String> getAuthenticationMechanisms()
- Description copied from interface:
AuthenticationHandlerFactory
- If your handler supports RFC 2554 at some degree, then it must return all the supported mechanisms here.
The order you use to populate the list will be preserved in the output of the EHLO command.
- Specified by:
getAuthenticationMechanisms in interface AuthenticationHandlerFactory
- Returns:
- the supported authentication mechanisms as List.
create
public AuthenticationHandler create()
- Description copied from interface:
AuthenticationHandlerFactory
- Create a fresh instance of your handler.
- Specified by:
create in interface AuthenticationHandlerFactory
Copyright © 2006-2011. All Rights Reserved.