| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | * Portions Copyright 2014-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.plugins; |
| | | |
| | | import static org.opends.messages.PluginMessages.*; |
| | | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | |
| | | import org.opends.server.api.plugin.DirectoryServerPlugin; |
| | | import org.opends.server.api.plugin.PluginResult; |
| | | import org.opends.server.api.plugin.PluginType; |
| | | import org.forgerock.opendj.config.server.ConfigChangeResult; |
| | | import org.forgerock.opendj.config.server.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.types.*; |
| | |
| | | import org.opends.server.types.operation.PreParseModifyOperation; |
| | | import org.opends.server.types.operation.PreParseModifyDNOperation; |
| | | |
| | | import static org.opends.messages.PluginMessages.*; |
| | | |
| | | /** |
| | | * This class implements a Directory Server plugin that can be used to ensure |
| | | * that the values for a specified set of attributes (optionally, below a |
| | |
| | | extends DirectoryServerPlugin<SevenBitCleanPluginCfg> |
| | | implements ConfigurationChangeListener<SevenBitCleanPluginCfg> |
| | | { |
| | | /** |
| | | * The bitmask that will be used to make the comparisons. |
| | | */ |
| | | private static final byte MASK = (byte) 0x7F; |
| | | /** The bitmask that will be used to make the comparisons. */ |
| | | private static final byte MASK = 0x7F; |
| | | |
| | | |
| | | |
| | | // The current configuration for this plugin. |
| | | /** The current configuration for this plugin. */ |
| | | private SevenBitCleanPluginCfg currentConfig; |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new instance of this Directory Server plugin. Every plugin must |
| | | * implement a default constructor (it is the only one that will be used to |