public class HashIterationsPasswordPolicyProviderFactory extends Object implements PasswordPolicyProvider, PasswordPolicyProviderFactory
INT_CONFIG_TYPE, STRING_CONFIG_TYPE| Constructor and Description |
|---|
HashIterationsPasswordPolicyProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is called when the server shuts down.
|
PasswordPolicyProvider |
create(KeycloakSession session) |
String |
getConfigType() |
String |
getDefaultConfigValue() |
String |
getDisplayName() |
String |
getId() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
boolean |
isMultiplSupported() |
Object |
parseConfig(String value) |
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
PolicyError |
validate(RealmModel realm,
UserModel user,
String password) |
PolicyError |
validate(String user,
String password) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseIntegerorderpublic HashIterationsPasswordPolicyProviderFactory()
public PasswordPolicyProvider create(KeycloakSession session)
create in interface ProviderFactory<PasswordPolicyProvider>public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<PasswordPolicyProvider>public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<PasswordPolicyProvider>public String getId()
getId in interface ProviderFactory<PasswordPolicyProvider>public PolicyError validate(RealmModel realm, UserModel user, String password)
validate in interface PasswordPolicyProviderpublic PolicyError validate(String user, String password)
validate in interface PasswordPolicyProviderpublic Object parseConfig(String value)
parseConfig in interface PasswordPolicyProviderpublic String getDisplayName()
getDisplayName in interface PasswordPolicyProviderFactorypublic String getConfigType()
getConfigType in interface PasswordPolicyProviderFactorypublic String getDefaultConfigValue()
getDefaultConfigValue in interface PasswordPolicyProviderFactorypublic boolean isMultiplSupported()
isMultiplSupported in interface PasswordPolicyProviderFactorypublic void close()
ProviderFactoryclose in interface Providerclose in interface ProviderFactory<PasswordPolicyProvider>Copyright © 2021 JBoss by Red Hat. All rights reserved.