public class NotEmailPasswordPolicyProvider extends Object implements PasswordPolicyProvider
PasswordPolicyProvider which does not allow to use the current email as password.INT_CONFIG_TYPE, STRING_CONFIG_TYPE| Constructor and Description |
|---|
NotEmailPasswordPolicyProvider(KeycloakContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
parseConfig(String value) |
PolicyError |
validate(RealmModel realm,
UserModel user,
String password) |
PolicyError |
validate(String email,
String password) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseIntegerpublic NotEmailPasswordPolicyProvider(KeycloakContext context)
public PolicyError validate(String email, String password)
validate in interface PasswordPolicyProviderpublic PolicyError validate(RealmModel realm, UserModel user, String password)
validate in interface PasswordPolicyProviderpublic Object parseConfig(String value)
parseConfig in interface PasswordPolicyProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.