public abstract class BasicAuthenticator extends Authenticator
checkCredentials(String,String)
Authenticator.Failure, Authenticator.Result, Authenticator.Retry, Authenticator.Success
protected String
realm
BasicAuthenticator(String realm)
abstract boolean
checkCredentials(String username, String password)
String
getRealm()
authenticate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected String realm
public BasicAuthenticator(String realm)
NullPointerException
public String getRealm()
public abstract boolean checkCredentials(String username, String password)
username
password
true
false