public interface BcryptPasswordStorageSchemeCfgClient extends PasswordStorageSchemeCfgClient
The Bcrypt Password Storage Scheme provides a mechanism for encoding user passwords using the bcrypt message digest algorithm.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends BcryptPasswordStorageSchemeCfgClient,? extends BcryptPasswordStorageSchemeCfg> |
definition()
Get the configuration definition associated with this Bcrypt Password Storage Scheme.
|
ValueOrExpression<Integer> |
getBcryptCost()
Gets the "bcrypt-cost" property.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
void |
setBcryptCost(ValueOrExpression<Integer> value)
Sets the "bcrypt-cost" property.
|
void |
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends BcryptPasswordStorageSchemeCfgClient,? extends BcryptPasswordStorageSchemeCfg> definition()
definition
in interface ConfigurationClient
definition
in interface PasswordStorageSchemeCfgClient
ValueOrExpression<Integer> 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.
void setBcryptCost(ValueOrExpression<Integer> value) throws PropertyException
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.
value
- The value of the "bcrypt-cost" property.PropertyException
- If the new value is invalid.ValueOrExpression<String> getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Bcrypt 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 Bcrypt 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.