
org.subethamail.smtp.auth.UsernamePasswordValidator 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.auth;
import org.subethamail.smtp.MessageContext;
/**
* Use this when your authentication scheme uses a username and a password.
*
* @author Marco Trevisan
*/
public interface UsernamePasswordValidator
{
void login(final String username, final String password, MessageContext context) throws LoginFailedException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy