Package org.keycloak.policy
Interface PasswordPolicyProvider
-
- All Superinterfaces:
Provider
- All Known Implementing Classes:
BlacklistPasswordPolicyProvider
,DigitsPasswordPolicyProvider
,ForceExpiredPasswordPolicyProviderFactory
,HashAlgorithmPasswordPolicyProviderFactory
,HashIterationsPasswordPolicyProviderFactory
,HistoryPasswordPolicyProvider
,LengthPasswordPolicyProvider
,LowerCasePasswordPolicyProvider
,MaximumLengthPasswordPolicyProvider
,NotEmailPasswordPolicyProvider
,NotUsernamePasswordPolicyProvider
,RecoveryCodesWarningThresholdPasswordPolicyProviderFactory
,RegexPatternsPasswordPolicyProvider
,SpecialCharsPasswordPolicyProvider
,UpperCasePasswordPolicyProvider
public interface PasswordPolicyProvider extends Provider
- Author:
- Roelof Naude
-
-
Field Summary
Fields Modifier and Type Field Description static String
INT_CONFIG_TYPE
static String
STRING_CONFIG_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Object
parseConfig(String value)
default Integer
parseInteger(String value, Integer defaultValue)
PolicyError
validate(String user, String password)
PolicyError
validate(RealmModel realm, UserModel user, String password)
-
-
-
Field Detail
-
STRING_CONFIG_TYPE
static final String STRING_CONFIG_TYPE
- See Also:
- Constant Field Values
-
INT_CONFIG_TYPE
static final String INT_CONFIG_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
PolicyError validate(RealmModel realm, UserModel user, String password)
-
validate
PolicyError validate(String user, String password)
-
-