
org.subethamail.smtp.AuthenticationHandlerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subethasmtp Show documentation
Show all versions of subethasmtp Show documentation
A fork of a fork (!) of SubEtha, an easy-to-use server-side SMTP library for Java.
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, names are in upper case.
*/
List getAuthenticationMechanisms();
/**
* Create a fresh instance of your handler.
* @return a new authentication handler
*/
AuthenticationHandler create();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy