Package org.keycloak.policy
Interface DenylistPasswordPolicyProviderFactory.PasswordDenylist
- All Known Implementing Classes:
DenylistPasswordPolicyProviderFactory.FileBasedPasswordDenylist
- Enclosing class:
- DenylistPasswordPolicyProviderFactory
public static interface DenylistPasswordPolicyProviderFactory.PasswordDenylist
A
DenylistPasswordPolicyProviderFactory.PasswordDenylist describes a list of too easy to guess
or potentially leaked passwords that users should not be able to use.-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether a givenpasswordis contained in thisDenylistPasswordPolicyProviderFactory.PasswordDenylist.getName()
-
Method Details
-
getName
String getName()- Returns:
- the logical name of the
DenylistPasswordPolicyProviderFactory.PasswordDenylist
-
contains
Checks whether a givenpasswordis contained in thisDenylistPasswordPolicyProviderFactory.PasswordDenylist.Callers must normalize the password via
DenylistPasswordPolicyProviderFactory.normalizePassword(String)before calling this method, because the denylist stores passwords in normalized (lowercased) form.- Parameters:
password- the already-normalized password to check- Returns:
trueif the password is denied
-