Class PasswordValidationResult


  • public class PasswordValidationResult
    extends java.lang.Object
    Contains information about password validation.
    • Constructor Summary

      Constructors 
      Constructor Description
      PasswordValidationResult​(boolean isValid, java.lang.String message)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      boolean isValid()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PasswordValidationResult

        public PasswordValidationResult​(boolean isValid,
                                        java.lang.String message)
    • Method Detail

      • isValid

        public boolean isValid()
        Returns:
        Is the password valid according to the given criteria.
      • getMessage

        public java.lang.String getMessage()
        Returns:
        Password criteria description.