All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.subethamail.smtp.AuthenticationHandlerFactory Maven / Gradle / Ivy

Go to download

A fork of a fork (!) of SubEtha, an easy-to-use server-side SMTP library for Java.

There is a newer version: 7.1.3
Show newest version
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