Interface BcryptPasswordStorageSchemeCfg
-
- All Superinterfaces:
Configuration,PasswordStorageSchemeCfg
public interface BcryptPasswordStorageSchemeCfg extends PasswordStorageSchemeCfg
A server-side interface for querying Bcrypt Password Storage Scheme settings.The Bcrypt Password Storage Scheme provides a mechanism for encoding user passwords using the bcrypt message digest algorithm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddBcryptChangeListener(ConfigurationChangeListener<BcryptPasswordStorageSchemeCfg> listener)Register to be notified when this Bcrypt Password Storage Scheme is changed.Class<? extends BcryptPasswordStorageSchemeCfg>configurationClass()Gets the configuration class associated with this Bcrypt Password Storage Scheme.intgetBcryptCost()Gets the "bcrypt-cost" property.StringgetJavaClass()Gets the "java-class" property.voidremoveBcryptChangeListener(ConfigurationChangeListener<BcryptPasswordStorageSchemeCfg> listener)Deregister an existing Bcrypt 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 BcryptPasswordStorageSchemeCfg> configurationClass()
Gets the configuration class associated with this Bcrypt Password Storage Scheme.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfacePasswordStorageSchemeCfg- Returns:
- Returns the configuration class associated with this Bcrypt Password Storage Scheme.
-
addBcryptChangeListener
void addBcryptChangeListener(ConfigurationChangeListener<BcryptPasswordStorageSchemeCfg> listener)
Register to be notified when this Bcrypt Password Storage Scheme is changed.- Parameters:
listener- The Bcrypt Password Storage Scheme configuration change listener.
-
removeBcryptChangeListener
void removeBcryptChangeListener(ConfigurationChangeListener<BcryptPasswordStorageSchemeCfg> listener)
Deregister an existing Bcrypt Password Storage Scheme configuration change listener.- Parameters:
listener- The Bcrypt Password Storage Scheme configuration change listener.
-
getBcryptCost
int getBcryptCost()
Gets the "bcrypt-cost" property.The cost parameter specifies a key expansion iteration count as a power of two. A default value of 12 (2^12 iterations) is considered in 2016 as a reasonable balance between responsiveness and security for regular users.
- Returns:
- Returns the value of the "bcrypt-cost" property.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Bcrypt Password Storage Scheme implementation.
- Specified by:
getJavaClassin interfacePasswordStorageSchemeCfg- Returns:
- Returns the value of the "java-class" property.
-
-