public class Pbkdf2PasswordHashProvider extends Object implements PasswordHashProviderFactory, PasswordHashProvider
| Constructor and Description |
|---|
Pbkdf2PasswordHashProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
PasswordHashProvider |
create(KeycloakSession session) |
CredentialModel |
encode(String rawPassword,
int iterations) |
void |
encode(String rawPassword,
PasswordPolicy policy,
CredentialModel credential) |
String |
getId() |
void |
init(Config.Scope config) |
boolean |
policyCheck(PasswordPolicy policy,
CredentialModel credential) |
void |
postInit(KeycloakSessionFactory factory) |
boolean |
verify(String rawPassword,
CredentialModel credential) |
public static final String ID
public CredentialModel encode(String rawPassword, int iterations)
public boolean policyCheck(PasswordPolicy policy, CredentialModel credential)
policyCheck in interface PasswordHashProviderpublic void encode(String rawPassword, PasswordPolicy policy, CredentialModel credential)
encode in interface PasswordHashProviderpublic boolean verify(String rawPassword, CredentialModel credential)
verify in interface PasswordHashProviderpublic PasswordHashProvider create(KeycloakSession session)
create in interface ProviderFactory<PasswordHashProvider>public void init(Config.Scope config)
init in interface ProviderFactory<PasswordHashProvider>public void postInit(KeycloakSessionFactory factory)
postInit in interface ProviderFactory<PasswordHashProvider>public void close()
close in interface Providerclose in interface ProviderFactory<PasswordHashProvider>public String getId()
getId in interface ProviderFactory<PasswordHashProvider>Copyright © 2016 JBoss by Red Hat. All rights reserved.