public interface CryptPasswordStorageSchemeCfgClient extends PasswordStorageSchemeCfgClient
The Crypt Password Storage Scheme provides a mechanism for encoding user passwords like Unix crypt does. Like on most Unix systems, the password may be encrypted using different algorithms, either Unix crypt, md5, sha256 or sha512.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends CryptPasswordStorageSchemeCfgClient,? extends CryptPasswordStorageSchemeCfg> |
definition()
Get the configuration definition associated with this Crypt Password Storage Scheme.
|
ValueOrExpression<CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm> |
getCryptPasswordStorageEncryptionAlgorithm()
Gets the "crypt-password-storage-encryption-algorithm" property.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
void |
setCryptPasswordStorageEncryptionAlgorithm(ValueOrExpression<CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm> value)
Sets the "crypt-password-storage-encryption-algorithm" property.
|
void |
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends CryptPasswordStorageSchemeCfgClient,? extends CryptPasswordStorageSchemeCfg> definition()
definition
in interface ConfigurationClient
definition
in interface PasswordStorageSchemeCfgClient
ValueOrExpression<CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm> getCryptPasswordStorageEncryptionAlgorithm()
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.
void setCryptPasswordStorageEncryptionAlgorithm(ValueOrExpression<CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm> value) throws PropertyException
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.
value
- The value of the "crypt-password-storage-encryption-algorithm" property.PropertyException
- If the new value is invalid.ValueOrExpression<String> getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Crypt Password Storage Scheme implementation.
getJavaClass
in interface PasswordStorageSchemeCfgClient
void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Crypt Password Storage Scheme implementation.
setJavaClass
in interface PasswordStorageSchemeCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.Copyright 2010-2018 ForgeRock AS.