io.mangoo.interfaces.MangooAuthenticator Maven / Gradle / Ivy
package io.mangoo.interfaces;
/**
*
* @author svenkubiak
*
*/
@FunctionalInterface
public interface MangooAuthenticator {
/**
* Validates given credentials
*
* @param username The user name to validate
* @param password The clear text password to validate
*
* @return True if authentication was successful, false otherwise
*/
public boolean validCredentials (String username, String password);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy