Class Pbkdf2HmacSha512PasswordStorageSchemeCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<Pbkdf2HmacSha512PasswordStorageSchemeCfgClient,Pbkdf2HmacSha512PasswordStorageSchemeCfg>
-
- org.forgerock.opendj.server.config.meta.Pbkdf2HmacSha512PasswordStorageSchemeCfgDefn
-
public final class Pbkdf2HmacSha512PasswordStorageSchemeCfgDefn extends ManagedObjectDefinition<Pbkdf2HmacSha512PasswordStorageSchemeCfgClient,Pbkdf2HmacSha512PasswordStorageSchemeCfg>
An interface for querying the PBKDF2-HMAC-SHA512 Password Storage Scheme managed object definition meta information.The PBKDF2-HMAC-SHA512 Password Storage Scheme provides a mechanism for encoding user passwords using the PBKDF2-HMAC-SHA512 message digest algorithm.
-
-
Method Summary
-
Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
-
-
-
Method Detail
-
getInstance
public static Pbkdf2HmacSha512PasswordStorageSchemeCfgDefn getInstance()
Get the PBKDF2-HMAC-SHA512 Password Storage Scheme configuration definition singleton.- Returns:
- Returns the PBKDF2-HMAC-SHA512 Password Storage Scheme configuration definition singleton.
-
createClientConfiguration
public Pbkdf2HmacSha512PasswordStorageSchemeCfgClient createClientConfiguration(ManagedObject<? extends Pbkdf2HmacSha512PasswordStorageSchemeCfgClient> impl)
Description copied from class:ManagedObjectDefinition
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfiguration
in classManagedObjectDefinition<Pbkdf2HmacSha512PasswordStorageSchemeCfgClient,Pbkdf2HmacSha512PasswordStorageSchemeCfg>
- Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public Pbkdf2HmacSha512PasswordStorageSchemeCfg createServerConfiguration(ServerManagedObject<? extends Pbkdf2HmacSha512PasswordStorageSchemeCfg> impl)
Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<Pbkdf2HmacSha512PasswordStorageSchemeCfgClient,Pbkdf2HmacSha512PasswordStorageSchemeCfg>
- Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<Pbkdf2HmacSha512PasswordStorageSchemeCfg> getServerConfigurationClass()
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<Pbkdf2HmacSha512PasswordStorageSchemeCfgClient,Pbkdf2HmacSha512PasswordStorageSchemeCfg>
- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getEnabledPropertyDefinition
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.Indicates whether the PBKDF2-HMAC-SHA512 Password Storage Scheme is enabled for use.
- Returns:
- Returns the "enabled" property definition.
-
getJavaClassPropertyDefinition
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.Specifies the fully-qualified name of the Java class that provides the PBKDF2-HMAC-SHA512 Password Storage Scheme implementation.
- Returns:
- Returns the "java-class" property definition.
-
getPbkdf2IterationsPropertyDefinition
public IntegerPropertyDefinition getPbkdf2IterationsPropertyDefinition()
Get the "pbkdf2-iterations" property definition.The number of algorithm iterations to make.
By default, changes to this setting impact only newly created and updated passwords. However, if the rehash-policy is set to always or only-increase, it causes the server to recalculate each user's password hash on their next authentication, and write the new hash to the user's entry on disk. Changing the number of iterations therefore leads to a short-term spike in CPU and disk use as the server updates each user's password when they next authenticate. Longer term, increasing this settings results in more secure passwords at the expense of longer response times and lower throughput.
- Returns:
- Returns the "pbkdf2-iterations" property definition.
-
getRehashPolicyPropertyDefinition
public EnumPropertyDefinition<Pbkdf2PasswordStorageSchemeCfgDefn.RehashPolicy> getRehashPolicyPropertyDefinition()
Get the "rehash-policy" property definition.Indicates whether the server should rehash passwords after the cost has been changed.
Passwords will be rehashed when a user successfully authenticates. Note that rehashing will increase the write load on the server.
- Returns:
- Returns the "rehash-policy" property definition.
-
-