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
SubEtha SMTP is an easy-to-use server-side SMTP library for Java.
package org.subethamail.smtp.auth;
/**
* Use this when your authentication scheme uses a username and a password.
*
* @author Marco Trevisan
*/
public interface UsernamePasswordValidator
{
public void login(final String username, final String password) throws LoginFailedException;
}