Class PasswordDiffersFromUsernameValidator

java.lang.Object
games.stendhal.server.core.account.PasswordDiffersFromUsernameValidator
All Implemented Interfaces:
AccountParameterValidator

public class PasswordDiffersFromUsernameValidator extends Object implements AccountParameterValidator
checks that the password is not closly related to the username.
Author:
timothyb89
  • Constructor Details

    • PasswordDiffersFromUsernameValidator

      public PasswordDiffersFromUsernameValidator(String username, String password)
      Creates a new PasswordDiffersFromUsernameValidator validator.
      Parameters:
      username - name of user
      password - password
  • Method Details