public class ForceExpiredPasswordPolicyProviderFactory extends Object implements PasswordPolicyProviderFactory, PasswordPolicyProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VALUE |
INT_CONFIG_TYPE, STRING_CONFIG_TYPE| Constructor and Description |
|---|
ForceExpiredPasswordPolicyProviderFactory() |
| 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, waitorderparseIntegerpublic static final int DEFAULT_VALUE
public ForceExpiredPasswordPolicyProviderFactory()
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 void close()
ProviderFactoryclose in interface Providerclose 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 String getDisplayName()
getDisplayName in interface PasswordPolicyProviderFactorypublic String getConfigType()
getConfigType in interface PasswordPolicyProviderFactorypublic String getDefaultConfigValue()
getDefaultConfigValue in interface PasswordPolicyProviderFactorypublic boolean isMultiplSupported()
isMultiplSupported in interface PasswordPolicyProviderFactorypublic Object parseConfig(String value)
parseConfig in interface PasswordPolicyProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.