
org.subethamail.smtp.AuthenticationHandlerFactory Maven / Gradle / Ivy
package org.subethamail.smtp;
import java.util.List;
/**
* The factory interface for creating authentication handlers.
*
* @author Marco Trevisan
* @author Jeff Schnitzer
*/
public 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.
*
* @return the supported authentication mechanisms as List.
*/
public List getAuthenticationMechanisms();
/**
* Create a fresh instance of your handler.
*/
public AuthenticationHandler create();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy