Interface PasswordProvider


public interface PasswordProvider
Returns a password stored in the database as Password.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.wildfly.security.password.Password
    getPassword(String passwordFromDatabase)
    Return a password stored in the database.
  • Method Details

    • getPassword

      org.wildfly.security.password.Password getPassword(String passwordFromDatabase)
      Return a password stored in the database.
      Parameters:
      passwordFromDatabase - - password in the database. If this password is hashed then Password implementation must provide a hashing algorithm information. Do not create a hash from this password - the security runtime will apply the hashing algorithm to the incoming user secret and compare it with this password.
      Returns:
      Password representation of the password stored in the database.