Interface PasswordService


  • public interface PasswordService
    Provides password services.
    Since:
    $Release$
    Version:
    $Id$
    Author:
    Colin DuPlantis
    • Method Detail

      • getHash

        String getHash​(String inRawPassword)
        Get the hash of the given value.
        Parameters:
        inRawPassword - a String value
        Returns:
        a String value
      • matches

        boolean matches​(String inRawPassword,
                        String inHashedPassword)
        Indicates if the given raw password is equivalent to the given hashed value.
        Parameters:
        inRawPassword - a String value
        inHashedPassword - a String value
        Returns:
        a boolean value