public enum ApplicationPropertyUserPassword extends Enum<ApplicationPropertyUserPassword> implements ApplicationConfigurationPropertyConstant
Enum Constant and Description |
---|
LOCAL_USER_PASSWORD_HASH_BCRYPT_COST
Property holding the cost factor of the bcrypt password hash function which can be used for
hashing the password of local Communote users.
|
LOCAL_USER_PASSWORD_HASH_FUNCTION
Property holding the identifier of the password hash function which should be used for
storing the passwords of local (i.e.
|
LOCAL_USER_PASSWORD_UPDATE_ON_LOGIN
Property holding a boolean value which determines whether the password of a local user should
be updated during login with the hash produced by the current hash function.
|
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_LOCAL_USER_PASSWORD_UPDATE_ON_LOGIN
Default value for property LOCAL_USER_PASSWORD_UPDATE_ON_LOGIN
|
Modifier and Type | Method and Description |
---|---|
String |
getKeyString()
String representation of the constant to be used as key in Properties objects.
|
static ApplicationPropertyUserPassword |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationPropertyUserPassword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationPropertyUserPassword LOCAL_USER_PASSWORD_UPDATE_ON_LOGIN
public static final ApplicationPropertyUserPassword LOCAL_USER_PASSWORD_HASH_FUNCTION
public static final ApplicationPropertyUserPassword LOCAL_USER_PASSWORD_HASH_BCRYPT_COST
public static final boolean DEFAULT_LOCAL_USER_PASSWORD_UPDATE_ON_LOGIN
public static ApplicationPropertyUserPassword[] values()
for (ApplicationPropertyUserPassword c : ApplicationPropertyUserPassword.values()) System.out.println(c);
public static ApplicationPropertyUserPassword valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getKeyString()
ConfigurationPropertyConstant
getKeyString
in interface ConfigurationPropertyConstant
Copyright © 2019 Communote team. All rights reserved.