Package org.keycloak.policy
Class DefaultPasswordPolicyManagerProvider
- java.lang.Object
-
- org.keycloak.policy.DefaultPasswordPolicyManagerProvider
-
- All Implemented Interfaces:
PasswordPolicyManagerProvider
,Provider
public class DefaultPasswordPolicyManagerProvider extends Object implements PasswordPolicyManagerProvider
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description DefaultPasswordPolicyManagerProvider(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
PolicyError
validate(String user, String password)
PolicyError
validate(RealmModel realm, UserModel user, String password)
-
-
-
Constructor Detail
-
DefaultPasswordPolicyManagerProvider
public DefaultPasswordPolicyManagerProvider(KeycloakSession session)
-
-
Method Detail
-
validate
public PolicyError validate(RealmModel realm, UserModel user, String password)
- Specified by:
validate
in interfacePasswordPolicyManagerProvider
-
validate
public PolicyError validate(String user, String password)
- Specified by:
validate
in interfacePasswordPolicyManagerProvider
-
-