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