System.out.println("Using configured PlainTextPasswordValidator................");
PasswordValidationCallback.PlainTextPasswordRequest plainTextRequest =
(PasswordValidationCallback.PlainTextPasswordRequest) request;
if ("Alice".equals(plainTextRequest.getUsername()) &&
"ecilA".equals(plainTextRequest.getPassword())) {
return true;
}
return false;