Package org.keycloak.policy
Class SpecialCharsPasswordPolicyProvider
- java.lang.Object
-
- org.keycloak.policy.SpecialCharsPasswordPolicyProvider
-
- All Implemented Interfaces:
PasswordPolicyProvider
,Provider
public class SpecialCharsPasswordPolicyProvider extends Object implements PasswordPolicyProvider
- Author:
- Stian Thorgersen
-
-
Field Summary
-
Fields inherited from interface org.keycloak.policy.PasswordPolicyProvider
INT_CONFIG_TYPE, STRING_CONFIG_TYPE
-
-
Constructor Summary
Constructors Constructor Description SpecialCharsPasswordPolicyProvider(KeycloakContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Object
parseConfig(String value)
PolicyError
validate(String username, String password)
PolicyError
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 Detail
-
SpecialCharsPasswordPolicyProvider
public SpecialCharsPasswordPolicyProvider(KeycloakContext context)
-
-
Method Detail
-
validate
public PolicyError validate(String username, String password)
- Specified by:
validate
in interfacePasswordPolicyProvider
-
validate
public PolicyError validate(RealmModel realm, UserModel user, String password)
- Specified by:
validate
in interfacePasswordPolicyProvider
-
parseConfig
public Object parseConfig(String value)
- Specified by:
parseConfig
in interfacePasswordPolicyProvider
-
-