Package 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 Object
implements AuthenticationHandlerFactory
This handler combines the behavior of several other authentication handler factories.
- Author:
- Jeff Schnitzer
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate()Create a fresh instance of your handler.If your handler supports RFC 2554 at some degree, then it must return all the supported mechanisms here.
-
Constructor Details
-
MultipleAuthenticationHandlerFactory
public MultipleAuthenticationHandlerFactory() -
MultipleAuthenticationHandlerFactory
-
-
Method Details
-
addFactory
-
getAuthenticationMechanisms
Description copied from interface:AuthenticationHandlerFactoryIf 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:
getAuthenticationMechanismsin interfaceAuthenticationHandlerFactory- Returns:
- the supported authentication mechanisms as List, names are in upper case.
-
create
Description copied from interface:AuthenticationHandlerFactoryCreate a fresh instance of your handler.- Specified by:
createin interfaceAuthenticationHandlerFactory
-