public void setUserCredentials(String email, String password)
throws AuthenticationException {
if (email.endsWith("@example.com") && password.equals("secret")) {
return;
} else {
throw new AuthenticationException("Failed rigged login.");
}
}
public BaseEntry getEntry(URL url, Class klass) {
if (url.toString().endsWith("admin")) {