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
 AuthenticationHandler create()
          Create a fresh instance of your handler.
 java.util.List<java.lang.String> getAuthenticationMechanisms()
          If your handler supports RFC 2554 at some degree, then it must return all the supported mechanisms here.
 

Method Detail

getAuthenticationMechanisms

java.util.List<java.lang.String> 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.

create

AuthenticationHandler create()
Create a fresh instance of your handler.



Copyright © 2006-2011. All Rights Reserved.