Interface SevenBitCleanPluginCfgClient
- All Superinterfaces:
ConfigurationClient,PluginCfgClient
The Seven Bit Clean Plugin ensures that values for a specified set of attributes are 7-bit clean.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends SevenBitCleanPluginCfgClient,? extends SevenBitCleanPluginCfg> Get the configuration definition associated with this Seven Bit Clean Plugin.Gets the "attribute-type" property.Gets the "base-dn" property.Gets the "java-class" property.Gets the "plugin-type" property.voidSets the "attribute-type" property.voidsetBaseDn(Collection<ValueOrExpression<Dn>> values) Sets the "base-dn" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidSets the "plugin-type" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, propertiesMethods inherited from interface org.forgerock.opendj.server.config.client.PluginCfgClient
isEnabled, isInvokeForInternalOperations, setEnabled, setInvokeForInternalOperations
-
Method Details
-
definition
ManagedObjectDefinition<? extends SevenBitCleanPluginCfgClient,? extends SevenBitCleanPluginCfg> definition()Get the configuration definition associated with this Seven Bit Clean Plugin.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfacePluginCfgClient- Returns:
- Returns the configuration definition associated with this Seven Bit Clean Plugin.
-
getAttributeType
Gets the "attribute-type" property.Specifies the name or OID of an attribute type for which values should be checked to ensure that they are 7-bit clean.
Default values:
uid,mail,userPassword- Returns:
- Returns the values of the "attribute-type" property.
-
setAttributeType
@MandatoryProperty void setAttributeType(Collection<ValueOrExpression<AttributeType>> values) throws PropertyException Sets the "attribute-type" property.Specifies the name or OID of an attribute type for which values should be checked to ensure that they are 7-bit clean.
- Parameters:
values- The values of the "attribute-type" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-
getBaseDn
SortedSet<ValueOrExpression<Dn>> getBaseDn()Gets the "base-dn" property.Specifies the base DN below which the checking is performed.
Any attempt to update a value for one of the configured attributes below this base DN must be 7-bit clean for the operation to be allowed.
- Returns:
- Returns the values of the "base-dn" property.
-
setBaseDn
Sets the "base-dn" property.Specifies the base DN below which the checking is performed.
Any attempt to update a value for one of the configured attributes below this base DN must be 7-bit clean for the operation to be allowed.
- Parameters:
values- The values of the "base-dn" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the plug-in implementation.
Default value:
org.opends.server.plugins.SevenBitCleanPlugin- Specified by:
getJavaClassin interfacePluginCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the plug-in implementation.
- Specified by:
setJavaClassin interfacePluginCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getPluginType
Gets the "plugin-type" property.Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.
Default values:
ldifimport,preparseadd,preparsemodify,preparsemodifydn- Specified by:
getPluginTypein interfacePluginCfgClient- Returns:
- Returns the values of the "plugin-type" property.
-
setPluginType
@MandatoryProperty void setPluginType(Collection<ValueOrExpression<PluginCfgDefn.PluginType>> values) throws PropertyException Sets the "plugin-type" property.Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.
- Specified by:
setPluginTypein interfacePluginCfgClient- Parameters:
values- The values of the "plugin-type" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-