
org.littleshoot.proxy.ProxyAuthenticator Maven / Gradle / Ivy
package org.littleshoot.proxy;
/**
* Interface for objects that can authenticate someone for using our Proxy on
* the basis of a username and password.
*/
public interface ProxyAuthenticator {
/**
* Authenticates the user using the specified userName and password.
*
* @param userName
* The user name.
* @param password
* The password.
* @return true
if the credentials are acceptable, otherwise
* false
.
*/
boolean authenticate(String userName, String password);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy