Interface PasswordValidatorService

All Known Implementing Classes:
RegexPasswordValidator

public interface PasswordValidatorService
Interface for classes that validate a given password with a specific strategy.
Author:
Luca Giamminonni (luca.giamminonni at 4science.it)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    This method checks whether the password is valid
    boolean
    Check if the password validator is active.
  • Method Details

    • isPasswordValidationEnabled

      boolean isPasswordValidationEnabled()
      Check if the password validator is active.
    • isPasswordValid

      boolean isPasswordValid(String password)
      This method checks whether the password is valid
      Parameters:
      password - password to validate