Interface PasswordEncoder

    • Method Detail

      • encode

        String encode​(String password)
        Encode a password.
        Parameters:
        password - the not encoded password
        Returns:
        the encoded password
      • matches

        boolean matches​(String plainPassword,
                        String encodedPassword)
        Validate if a plainPassword matches
        Parameters:
        plainPassword - the not encoded password to check
        encodedPassword - the encoded password
        Returns:
        true if they match