Enum Argon2PasswordStorageSchemeCfgDefn.RehashPolicy
- java.lang.Object
-
- java.lang.Enum<Argon2PasswordStorageSchemeCfgDefn.RehashPolicy>
-
- org.forgerock.opendj.server.config.meta.Argon2PasswordStorageSchemeCfgDefn.RehashPolicy
-
- All Implemented Interfaces:
Serializable,Comparable<Argon2PasswordStorageSchemeCfgDefn.RehashPolicy>
- Enclosing class:
- Argon2PasswordStorageSchemeCfgDefn
public static enum Argon2PasswordStorageSchemeCfgDefn.RehashPolicy extends Enum<Argon2PasswordStorageSchemeCfgDefn.RehashPolicy>
Defines the set of permissible values for the "rehash-policy" property.Indicates whether the server should rehash passwords after the cost has been changed.
Passwords will be rehashed when a user successfully authenticates. Note that rehashing will increase the write load on the server.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static Argon2PasswordStorageSchemeCfgDefn.RehashPolicyvalueOf(String name)Returns the enum constant of this type with the specified name.static Argon2PasswordStorageSchemeCfgDefn.RehashPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final Argon2PasswordStorageSchemeCfgDefn.RehashPolicy ALWAYS
Rehash passwords when the cost is increased or decreased.
-
NEVER
public static final Argon2PasswordStorageSchemeCfgDefn.RehashPolicy NEVER
Never rehash passwords.
-
-
Method Detail
-
values
public static Argon2PasswordStorageSchemeCfgDefn.RehashPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Argon2PasswordStorageSchemeCfgDefn.RehashPolicy c : Argon2PasswordStorageSchemeCfgDefn.RehashPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Argon2PasswordStorageSchemeCfgDefn.RehashPolicy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<Argon2PasswordStorageSchemeCfgDefn.RehashPolicy>
-
-