Package org.subethamail.smtp
Interface AuthenticationHandlerFactory
- All Known Implementing Classes:
EasyAuthenticationHandlerFactory,LoginAuthenticationHandlerFactory,MultipleAuthenticationHandlerFactory,PlainAuthenticationHandlerFactory
public interface AuthenticationHandlerFactory
The factory interface for creating authentication handlers.
- Author:
- Marco Trevisan, Jeff Schnitzer
-
Method Summary
Modifier and TypeMethodDescriptioncreate()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.
-
Method Details
-
getAuthenticationMechanisms
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.- Returns:
- the supported authentication mechanisms as List, names are in upper case.
-
create
AuthenticationHandler create()Create a fresh instance of your handler.
-