Class UniqueCharactersPasswordValidatorCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<UniqueCharactersPasswordValidatorCfgClient,UniqueCharactersPasswordValidatorCfg>
-
- org.forgerock.opendj.server.config.meta.UniqueCharactersPasswordValidatorCfgDefn
-
public final class UniqueCharactersPasswordValidatorCfgDefn extends ManagedObjectDefinition<UniqueCharactersPasswordValidatorCfgClient,UniqueCharactersPasswordValidatorCfg>
An interface for querying the Unique Characters Password Validator managed object definition meta information.The Unique Characters Password Validator is used to determine whether a proposed password is acceptable based on the number of unique characters that it contains.
-
-
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 UniqueCharactersPasswordValidatorCfgDefn getInstance()
Get the Unique Characters Password Validator configuration definition singleton.- Returns:
- Returns the Unique Characters Password Validator configuration definition singleton.
-
createClientConfiguration
public UniqueCharactersPasswordValidatorCfgClient createClientConfiguration(ManagedObject<? extends UniqueCharactersPasswordValidatorCfgClient> 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<UniqueCharactersPasswordValidatorCfgClient,UniqueCharactersPasswordValidatorCfg>
- Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public UniqueCharactersPasswordValidatorCfg createServerConfiguration(ServerManagedObject<? extends UniqueCharactersPasswordValidatorCfg> impl)
Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<UniqueCharactersPasswordValidatorCfgClient,UniqueCharactersPasswordValidatorCfg>
- Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<UniqueCharactersPasswordValidatorCfg> getServerConfigurationClass()
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<UniqueCharactersPasswordValidatorCfgClient,UniqueCharactersPasswordValidatorCfg>
- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getCaseSensitiveValidationPropertyDefinition
public BooleanPropertyDefinition getCaseSensitiveValidationPropertyDefinition()
Get the "case-sensitive-validation" property definition.Indicates whether this password validator should treat password characters in a case-sensitive manner.
A value of true indicates that the validator does not consider a capital letter to be the same as its lower-case counterpart. A value of false indicates that the validator ignores differences in capitalization when looking at the number of unique characters in the password.
- Returns:
- Returns the "case-sensitive-validation" property 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.
-
getMinUniqueCharactersPropertyDefinition
public IntegerPropertyDefinition getMinUniqueCharactersPropertyDefinition()
Get the "min-unique-characters" property definition.Specifies the minimum number of unique characters that a password will be allowed to contain.
A value of zero indicates that no minimum value is enforced.
- Returns:
- Returns the "min-unique-characters" property definition.
-
-