Create a PasswordValidationCallback.paramusername the username to authenticateparampassword the user's password, which may be null. super(null, username, password);
super(null, username, password);