public class PasswordPolicy extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PasswordPolicy.Builder |
Modifier and Type | Field and Description |
---|---|
static String |
FORCE_EXPIRED_ID |
static String |
HASH_ALGORITHM_DEFAULT |
static String |
HASH_ALGORITHM_ID |
static int |
HASH_ITERATIONS_DEFAULT |
static String |
HASH_ITERATIONS_ID |
static String |
PASSWORD_HISTORY_ID |
Modifier and Type | Method and Description |
---|---|
static PasswordPolicy.Builder |
build() |
static PasswordPolicy |
empty() |
int |
getDaysToExpirePassword() |
int |
getExpiredPasswords() |
String |
getHashAlgorithm() |
int |
getHashIterations() |
Set<String> |
getPolicies() |
<T> T |
getPolicyConfig(String key) |
static PasswordPolicy |
parse(KeycloakSession session,
String policyString) |
PasswordPolicy.Builder |
toBuilder() |
String |
toString() |
public static final String HASH_ALGORITHM_ID
public static final String HASH_ALGORITHM_DEFAULT
public static final String HASH_ITERATIONS_ID
public static final int HASH_ITERATIONS_DEFAULT
public static final String PASSWORD_HISTORY_ID
public static final String FORCE_EXPIRED_ID
public static PasswordPolicy empty()
public static PasswordPolicy.Builder build()
public static PasswordPolicy parse(KeycloakSession session, String policyString)
public <T> T getPolicyConfig(String key)
public String getHashAlgorithm()
public int getHashIterations()
public int getExpiredPasswords()
public int getDaysToExpirePassword()
public PasswordPolicy.Builder toBuilder()
Copyright © 2019 JBoss by Red Hat. All rights reserved.