public enum HashSaltStyle extends Enum<HashSaltStyle>
Enum Constant and Description |
---|
COLUMN
Salt is in a separate column for each user in the database
|
EXTERNAL
Salt is NOT stored in the database, but defined as external value like application preferences or so
|
NO_SALT
Password hashes are not salted
|
Modifier and Type | Method and Description |
---|---|
static HashSaltStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashSaltStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashSaltStyle NO_SALT
public static final HashSaltStyle COLUMN
public static final HashSaltStyle EXTERNAL
public static HashSaltStyle[] values()
for (HashSaltStyle c : HashSaltStyle.values()) System.out.println(c);
public static HashSaltStyle 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 nullCopyright © 2023 Eclipse. All rights reserved.