public static enum CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm extends Enum<CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm>
Specifies the algorithm to use to encrypt new passwords.
Select the crypt algorithm to use to encrypt new passwords. The value can either be "unix", which means the password is encrypted with the weak Unix crypt algorithm, or "md5" which means the password is encrypted with the BSD MD5 algorithm and has a $1$ prefix, or "sha256" which means the password is encrypted with the SHA256 algorithm and has a $5$ prefix, or "sha512" which means the password is encrypted with the SHA512 algorithm and has a $6$ prefix.
Enum Constant and Description |
---|
MD5
New passwords are encrypted with the BSD MD5 algorithm.
|
SHA256
New passwords are encrypted with the Unix crypt SHA256
algorithm.
|
SHA512
New passwords are encrypted with the Unix crypt SHA512
algorithm.
|
UNIX
New passwords are encrypted with the Unix crypt algorithm.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm MD5
public static final CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm SHA256
public static final CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm SHA512
public static final CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm UNIX
public static CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm[] values()
for (CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm c : CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm.values()) System.out.println(c);
public static CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm 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 toString()
toString
in class Enum<CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm>
Copyright 2010-2017 ForgeRock AS.