Package org.keycloak.policy
Class UpperCasePasswordPolicyProvider
- java.lang.Object
-
- org.keycloak.policy.UpperCasePasswordPolicyProvider
-
- All Implemented Interfaces:
PasswordPolicyProvider
,Provider
public class UpperCasePasswordPolicyProvider 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 UpperCasePasswordPolicyProvider(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
-
UpperCasePasswordPolicyProvider
public UpperCasePasswordPolicyProvider(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
-
-