Interface CredentialHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean matches​(java.lang.String inputCredentials, java.lang.String storedCredentials)
      Checks to see if the input credentials match the stored credentials
      java.lang.String mutate​(java.lang.String inputCredentials)
      Generates the equivalent stored credentials for the given input credentials.
    • Method Detail

      • matches

        boolean matches​(java.lang.String inputCredentials,
                        java.lang.String storedCredentials)
        Checks to see if the input credentials match the stored credentials
        Parameters:
        inputCredentials - User provided credentials
        storedCredentials - Credentials stored in the Realm
        Returns:
        true if the inputCredentials match the storedCredentials, otherwise false
      • mutate

        java.lang.String mutate​(java.lang.String inputCredentials)
        Generates the equivalent stored credentials for the given input credentials.
        Parameters:
        inputCredentials - User provided credentials
        Returns:
        The equivalent stored credentials for the given input credentials