Package io.quarkus.security.jpa
Interface PasswordProvider
-
public interface PasswordProviderReturns a password stored in the database asPassword.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.wildfly.security.password.PasswordgetPassword(String passwordFromDatabase)Return a password stored in the database.
-
-
-
Method Detail
-
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 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.
-
-