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, wait
parseInteger
public NotEmailPasswordPolicyProvider(KeycloakContext context)
public PolicyError validate(String email, String password)
validate
in interface PasswordPolicyProvider
public PolicyError validate(RealmModel realm, UserModel user, String password)
validate
in interface PasswordPolicyProvider
public Object parseConfig(String value)
parseConfig
in interface PasswordPolicyProvider
Copyright © 2021 JBoss by Red Hat. All rights reserved.