Class PasswordHelper


  • public class PasswordHelper
    extends Object
    Helper methods for process and validate passwords
    • Constructor Detail

      • PasswordHelper

        public PasswordHelper()
    • Method Detail

      • generateVirtualKeyboardSequence

        public static List<String> generateVirtualKeyboardSequence​(PasswordType passwordType,
                                                                   String passwordValue)
        Generates a valid virtual keyboard sequence for the given password type, and current password value. If a current password is given, it is guaranteed that the password chars will be contained on each sequence, allowing more possible characters than the limit of buttons * chars per button. If the current password is null, that limit must be respected. If the password type's input method is not PasswordInputMethod.VIRTUAL_KEYBOARD, returns null.