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

jcambon
11.28.2009 635ff4018ff896e021485e4019963ed79a1ec3c7
Fix for issue #3863 : dsconfig exception when trying to set the subject-attribute in Subject DN To User Attribute Certificate Mapper

2 files modified
17 ■■■■ changed files
opends/build.xml 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/types/AttributeType.java 12 ●●●● patch | view | raw | blame | history
opends/build.xml
@@ -1426,6 +1426,8 @@
        <dirset dir="${classes.dir}" />
      </classpath>
      <jvmarg  value="-Dorg.opends.server.scriptName=dsconfig" />
      <jvmarg value="-Dorg.opends.server.BuildRoot=${pdir}"/>
      <jvmarg value="-Dorg.opends.server.ServerRoot=${pdir}"/>
    </java>
  </target>
@@ -1448,6 +1450,9 @@
      <jvmarg value="-Xdebug"/>
      <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
      <jvmarg  value="-Dorg.opends.server.scriptName=dsconfig" />
      <jvmarg value="-Dorg.opends.server.BuildRoot=${pdir}"/>
      <jvmarg value="-Dorg.opends.server.ServerRoot=${pdir}"/>
      <jvmarg value="-Dorg.opends.server.debug.enabled=true"/>
    </java>
  </target>
opends/src/server/org/opends/server/types/AttributeType.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.types;
@@ -68,7 +68,7 @@
     mayInvoke=true)
public final class AttributeType
       extends CommonSchemaElements
       implements SchemaFileElement
       implements SchemaFileElement, Comparable<AttributeType>
{
  /**
   * The tracer object for the debug logger.
@@ -751,5 +751,13 @@
      buffer.append(attributeUsage.toString());
    }
  }
  /**
   * {@inheritDoc}
   */
  public int compareTo(AttributeType o) {
    return getNormalizedPrimaryNameOrOID().compareTo(
      o.getNormalizedPrimaryNameOrOID());
  }
}