Interface ScramSha512PasswordStorageSchemeCfgClient
-
- All Superinterfaces:
ConfigurationClient
,PasswordStorageSchemeCfgClient
public interface ScramSha512PasswordStorageSchemeCfgClient extends PasswordStorageSchemeCfgClient
A client-side interface for reading and modifying SCRAM-SHA-512 Password Storage Scheme settings.The SCRAM-SHA-512 Password Storage Scheme provides a mechanism for encoding user passwords for use with the SASL SCRAM authentication mechanism defined in RFC 5802.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends ScramSha512PasswordStorageSchemeCfgClient,? extends ScramSha512PasswordStorageSchemeCfg>
definition()
Get the configuration definition associated with this SCRAM-SHA-512 Password Storage Scheme.ValueOrExpression<String>
getJavaClass()
Gets the "java-class" property.ValueOrExpression<Integer>
getScramIterations()
Gets the "scram-iterations" property.void
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.void
setScramIterations(ValueOrExpression<Integer> value)
Sets the "scram-iterations" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Methods inherited from interface org.forgerock.opendj.server.config.client.PasswordStorageSchemeCfgClient
isEnabled, setEnabled
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends ScramSha512PasswordStorageSchemeCfgClient,? extends ScramSha512PasswordStorageSchemeCfg> definition()
Get the configuration definition associated with this SCRAM-SHA-512 Password Storage Scheme.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfacePasswordStorageSchemeCfgClient
- Returns:
- Returns the configuration definition associated with this SCRAM-SHA-512 Password Storage Scheme.
-
getJavaClass
@MandatoryProperty ValueOrExpression<String> getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the SCRAM-SHA-512 Password Storage Scheme implementation.
Default value:
org.opends.server.extensions.ScramSha512PasswordStorageScheme
- Specified by:
getJavaClass
in interfacePasswordStorageSchemeCfgClient
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
@MandatoryProperty void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the SCRAM-SHA-512 Password Storage Scheme implementation.
- Specified by:
setJavaClass
in interfacePasswordStorageSchemeCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-
getScramIterations
ValueOrExpression<Integer> getScramIterations()
Gets the "scram-iterations" property.The number of iterations to use when deriving the salted password.
Default value:
10000
- Returns:
- Returns the value of the "scram-iterations" property.
-
setScramIterations
void setScramIterations(ValueOrExpression<Integer> value) throws PropertyException
Sets the "scram-iterations" property.The number of iterations to use when deriving the salted password.
- Parameters:
value
- The value of the "scram-iterations" property.- Throws:
PropertyException
- If the new value is invalid.
-
-