com.ibm.websphere.wim

Interface ICustomHashAlgo



  • public interface ICustomHashAlgo
    Interface for providing the custom hashing algorithm mechanism
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      byte[] getHashedPassword(java.lang.String username, java.lang.String password)
      Method to get the hashed password from the custom hashing algorithm
      boolean isPasswordHashed(java.lang.String username, java.lang.String password)
      Method to check whether the password is already hashed with custom algorithm or not
    • Method Detail

      • getHashedPassword

        byte[] getHashedPassword(java.lang.String username, 
                               java.lang.String password)
                                 throws WIMException
        Method to get the hashed password from the custom hashing algorithm
        Parameters:
        username -
        password -
        Throws:
        WIMException
        Return:
        hashed password
      • isPasswordHashed

        boolean isPasswordHashed(java.lang.String username,
                               java.lang.String password)
                                 throws WIMException
        Method to check whether the password is already hashed with custom algorithm or not
        Parameters:
        username -
        password -
        Throws:
        WIMException
        Return:
        boolean