mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
13.34.2015 2c365de28e74fb23c611b71a41b045495c749db5
opendj3-server-dev/src/server/org/opends/server/plugins/SevenBitCleanPlugin.java
@@ -22,10 +22,12 @@
 *
 *
 *      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;
@@ -37,6 +39,7 @@
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.*;
@@ -47,8 +50,6 @@
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
@@ -59,18 +60,12 @@
       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