Package org.keycloak.models
Class PasswordPolicy
java.lang.Object
org.keycloak.models.PasswordPolicy
- All Implemented Interfaces:
Serializable
- Author:
- Stian Thorgersen
- See Also:
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PasswordPolicy.Builder
build()
static PasswordPolicy
empty()
int
int
int
<T> T
getPolicyConfig
(String key) int
static PasswordPolicy
parse
(KeycloakSession session, String policyString) toString()
-
Field Details
-
HASH_ALGORITHM_ID
- See Also:
-
HASH_ALGORITHM_DEFAULT
- See Also:
-
HASH_ITERATIONS_ID
- See Also:
-
HASH_ITERATIONS_DEFAULT
public static final int HASH_ITERATIONS_DEFAULT- See Also:
-
PASSWORD_HISTORY_ID
- See Also:
-
FORCE_EXPIRED_ID
- See Also:
-
RECOVERY_CODES_WARNING_THRESHOLD_DEFAULT
public static final int RECOVERY_CODES_WARNING_THRESHOLD_DEFAULT- See Also:
-
RECOVERY_CODES_WARNING_THRESHOLD_ID
- See Also:
-
-
Method Details
-
empty
-
build
-
parse
-
getPolicies
-
getPolicyConfig
-
getHashAlgorithm
-
getHashIterations
public int getHashIterations() -
getExpiredPasswords
public int getExpiredPasswords() -
getDaysToExpirePassword
public int getDaysToExpirePassword() -
getRecoveryCodesWarningThreshold
public int getRecoveryCodesWarningThreshold() -
toString
-
toBuilder
-