public interface BcryptPasswordStorageSchemeCfg extends PasswordStorageSchemeCfg
The Bcrypt Password Storage Scheme provides a mechanism for encoding user passwords using the bcrypt message digest algorithm.
Modifier and Type | Method and Description |
---|---|
void |
addBcryptChangeListener(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.
|
int |
getBcryptCost()
Gets the "bcrypt-cost" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
removeBcryptChangeListener(ConfigurationChangeListener<BcryptPasswordStorageSchemeCfg> listener)
Deregister an existing Bcrypt Password Storage Scheme configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn, name
Class<? extends BcryptPasswordStorageSchemeCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface PasswordStorageSchemeCfg
void addBcryptChangeListener(ConfigurationChangeListener<BcryptPasswordStorageSchemeCfg> listener)
listener
- The Bcrypt Password Storage Scheme configuration change listener.void removeBcryptChangeListener(ConfigurationChangeListener<BcryptPasswordStorageSchemeCfg> listener)
listener
- The Bcrypt Password Storage Scheme configuration change listener.int getBcryptCost()
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.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Bcrypt Password Storage Scheme implementation.
getJavaClass
in interface PasswordStorageSchemeCfg
Copyright 2010-2020 ForgeRock AS.