Package io.quarkus.security.jpa
Interface PasswordProvider
public interface PasswordProvider
Returns a password stored in the database as
Password.-
Method Summary
Modifier and TypeMethodDescriptionorg.wildfly.security.password.PasswordgetPassword(String passwordFromDatabase) Return a password stored in the database.
-
Method Details
-
getPassword
Return a password stored in the database.- Parameters:
passwordFromDatabase- - password in the database. If this password is hashed thenPasswordimplementation 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:
Passwordrepresentation of the password stored in the database.
-