Interface CryptPasswordStorageSchemeCfg
-
- All Superinterfaces:
Configuration
,PasswordStorageSchemeCfg
public interface CryptPasswordStorageSchemeCfg extends PasswordStorageSchemeCfg
A server-side interface for querying Crypt Password Storage Scheme settings.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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addCryptChangeListener(ConfigurationChangeListener<CryptPasswordStorageSchemeCfg> listener)
Register to be notified when this Crypt Password Storage Scheme is changed.Class<? extends CryptPasswordStorageSchemeCfg>
configurationClass()
Gets the configuration class associated with this Crypt Password Storage Scheme.CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm
getCryptPasswordStorageEncryptionAlgorithm()
Gets the "crypt-password-storage-encryption-algorithm" property.String
getJavaClass()
Gets the "java-class" property.void
removeCryptChangeListener(ConfigurationChangeListener<CryptPasswordStorageSchemeCfg> listener)
Deregister an existing Crypt Password Storage Scheme configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.PasswordStorageSchemeCfg
addChangeListener, isEnabled, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends CryptPasswordStorageSchemeCfg> configurationClass()
Gets the configuration class associated with this Crypt Password Storage Scheme.- Specified by:
configurationClass
in interfaceConfiguration
- Specified by:
configurationClass
in interfacePasswordStorageSchemeCfg
- Returns:
- Returns the configuration class associated with this Crypt Password Storage Scheme.
-
addCryptChangeListener
void addCryptChangeListener(ConfigurationChangeListener<CryptPasswordStorageSchemeCfg> listener)
Register to be notified when this Crypt Password Storage Scheme is changed.- Parameters:
listener
- The Crypt Password Storage Scheme configuration change listener.
-
removeCryptChangeListener
void removeCryptChangeListener(ConfigurationChangeListener<CryptPasswordStorageSchemeCfg> listener)
Deregister an existing Crypt Password Storage Scheme configuration change listener.- Parameters:
listener
- The Crypt Password Storage Scheme configuration change listener.
-
getCryptPasswordStorageEncryptionAlgorithm
CryptPasswordStorageSchemeCfgDefn.CryptPasswordStorageEncryptionAlgorithm getCryptPasswordStorageEncryptionAlgorithm()
Gets the "crypt-password-storage-encryption-algorithm" property.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.
Default value:
unix
- Returns:
- Returns the value of the "crypt-password-storage-encryption-algorithm" property.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Crypt Password Storage Scheme implementation.
Default value:
org.opends.server.extensions.CryptPasswordStorageScheme
- Specified by:
getJavaClass
in interfacePasswordStorageSchemeCfg
- Returns:
- Returns the value of the "java-class" property.
-
-