Package org.keycloak.policy
Class NotEmailPasswordPolicyProvider
java.lang.Object
org.keycloak.policy.NotEmailPasswordPolicyProvider
- All Implemented Interfaces:
PasswordPolicyProvider
,Provider
A
PasswordPolicyProvider
which does not allow to use the current email as password.- Author:
- Thomas Darimont
-
Field Summary
Fields inherited from interface org.keycloak.policy.PasswordPolicyProvider
INT_CONFIG_TYPE, STRING_CONFIG_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
parseConfig
(String value) validate
(RealmModel realm, UserModel user, String password) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.policy.PasswordPolicyProvider
parseInteger
-
Constructor Details
-
NotEmailPasswordPolicyProvider
-
-
Method Details
-
validate
- Specified by:
validate
in interfacePasswordPolicyProvider
-
validate
- Specified by:
validate
in interfacePasswordPolicyProvider
-
parseConfig
- Specified by:
parseConfig
in interfacePasswordPolicyProvider
-
close
public void close()
-