org.opends.server.admin.std.meta
Class RepeatedCharactersPasswordValidatorCfgDefn

java.lang.Object
  extended by org.opends.server.admin.AbstractManagedObjectDefinition<C,S>
      extended by org.opends.server.admin.ManagedObjectDefinition<RepeatedCharactersPasswordValidatorCfgClient,RepeatedCharactersPasswordValidatorCfg>
          extended by org.opends.server.admin.std.meta.RepeatedCharactersPasswordValidatorCfgDefn

public final class RepeatedCharactersPasswordValidatorCfgDefn
extends ManagedObjectDefinition<RepeatedCharactersPasswordValidatorCfgClient,RepeatedCharactersPasswordValidatorCfg>

An interface for querying the Repeated Characters Password Validator managed object definition meta information.

The Repeated Characters Password Validator is used to determine whether a proposed password is acceptable based on the number of times any character appears consecutively in a password value.


Method Summary
 RepeatedCharactersPasswordValidatorCfgClient createClientConfiguration(ManagedObject<? extends RepeatedCharactersPasswordValidatorCfgClient> impl)
          Creates a client configuration view of the provided managed object.
 RepeatedCharactersPasswordValidatorCfg createServerConfiguration(ServerManagedObject<? extends RepeatedCharactersPasswordValidatorCfg> impl)
          Creates a server configuration view of the provided server managed object.
 BooleanPropertyDefinition getCaseSensitiveValidationPropertyDefinition()
          Get the "case-sensitive-validation" property definition.
 BooleanPropertyDefinition getEnabledPropertyDefinition()
          Get the "enabled" property definition.
static RepeatedCharactersPasswordValidatorCfgDefn getInstance()
          Get the Repeated Characters Password Validator configuration definition singleton.
 ClassPropertyDefinition getJavaClassPropertyDefinition()
          Get the "java-class" property definition.
 IntegerPropertyDefinition getMaxConsecutiveLengthPropertyDefinition()
          Get the "max-consecutive-length" property definition.
 java.lang.Class<RepeatedCharactersPasswordValidatorCfg> getServerConfigurationClass()
          Gets the server configuration class instance associated with this managed object definition.
 
Methods inherited from class org.opends.server.admin.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static RepeatedCharactersPasswordValidatorCfgDefn getInstance()
Get the Repeated Characters Password Validator configuration definition singleton.

Returns:
Returns the Repeated Characters Password Validator configuration definition singleton.

createClientConfiguration

public RepeatedCharactersPasswordValidatorCfgClient createClientConfiguration(ManagedObject<? extends RepeatedCharactersPasswordValidatorCfgClient> impl)
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 class ManagedObjectDefinition<RepeatedCharactersPasswordValidatorCfgClient,RepeatedCharactersPasswordValidatorCfg>
Parameters:
impl - The managed object.
Returns:
Returns a client configuration view of the provided managed object.

createServerConfiguration

public RepeatedCharactersPasswordValidatorCfg createServerConfiguration(ServerManagedObject<? extends RepeatedCharactersPasswordValidatorCfg> impl)
Creates a server configuration view of the provided server managed object.

Specified by:
createServerConfiguration in class ManagedObjectDefinition<RepeatedCharactersPasswordValidatorCfgClient,RepeatedCharactersPasswordValidatorCfg>
Parameters:
impl - The server managed object.
Returns:
Returns a server configuration view of the provided server managed object.

getServerConfigurationClass

public java.lang.Class<RepeatedCharactersPasswordValidatorCfg> getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.

Specified by:
getServerConfigurationClass in class ManagedObjectDefinition<RepeatedCharactersPasswordValidatorCfgClient,RepeatedCharactersPasswordValidatorCfg>
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.

If the value of this property is false, the validator ignores any differences in capitalization when looking for consecutive characters in the password. If the value is true, the validator considers a character to be repeating only if all consecutive occurrences use the same capitalization.

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.

getMaxConsecutiveLengthPropertyDefinition

public IntegerPropertyDefinition getMaxConsecutiveLengthPropertyDefinition()
Get the "max-consecutive-length" property definition.

Specifies the maximum number of times that any character can appear consecutively in a password value.

A value of zero indicates that no maximum limit is enforced.

Returns:
Returns the "max-consecutive-length" property definition.