Class PasswordValidatorCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<PasswordValidatorCfgClient,PasswordValidatorCfg>
-
- org.forgerock.opendj.server.config.meta.PasswordValidatorCfgDefn
-
public final class PasswordValidatorCfgDefn extends ManagedObjectDefinition<PasswordValidatorCfgClient,PasswordValidatorCfg>
An interface for querying the Password Validator managed object definition meta information.Password Validators are responsible for determining whether a proposed password is acceptable for use and could include checks like ensuring it meets minimum length requirements, that it has an appropriate range of characters, or that it is not in the history.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordValidatorCfgClient
createClientConfiguration(ManagedObject<? extends PasswordValidatorCfgClient> impl)
Creates a client configuration view of the provided managed object.PasswordValidatorCfg
createServerConfiguration(ServerManagedObject<? extends PasswordValidatorCfg> impl)
Creates a server configuration view of the provided server managed object.BooleanPropertyDefinition
getEnabledPropertyDefinition()
Get the "enabled" property definition.static PasswordValidatorCfgDefn
getInstance()
Get the Password Validator configuration definition singleton.ClassPropertyDefinition
getJavaClassPropertyDefinition()
Get the "java-class" property definition.Class<PasswordValidatorCfg>
getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.-
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 PasswordValidatorCfgDefn getInstance()
Get the Password Validator configuration definition singleton.- Returns:
- Returns the Password Validator configuration definition singleton.
-
createClientConfiguration
public PasswordValidatorCfgClient createClientConfiguration(ManagedObject<? extends PasswordValidatorCfgClient> 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<PasswordValidatorCfgClient,PasswordValidatorCfg>
- Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public PasswordValidatorCfg createServerConfiguration(ServerManagedObject<? extends PasswordValidatorCfg> impl)
Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<PasswordValidatorCfgClient,PasswordValidatorCfg>
- Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<PasswordValidatorCfg> getServerConfigurationClass()
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<PasswordValidatorCfgClient,PasswordValidatorCfg>
- 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 password validator 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 password validator implementation.
- Returns:
- Returns the "java-class" property definition.
-
-