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

Nicolas Capponi
07.06.2014 c01c421b26e6409febd6af1db1c9db11b7b347a4
opendj3-server-dev/src/server/org/opends/server/extensions/PasswordModifyExtendedOperation.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2006-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2011-2013 ForgeRock AS
 *      Portions Copyright 2011-2014 ForgeRock AS
 */
package org.opends.server.extensions;
@@ -331,7 +331,7 @@
        {
          try
          {
            userDN = DN.decode(authzIDStr.substring(3));
            userDN = DN.valueOf(authzIDStr.substring(3));
          }
          catch (DirectoryException de)
          {
@@ -397,7 +397,7 @@
        {
          try
          {
            userDN = DN.decode(authzIDStr);
            userDN = DN.valueOf(authzIDStr);
          }
          catch (DirectoryException ignored)
          {
@@ -407,7 +407,7 @@
            }
          }
          if (userDN != null && !userDN.isNullDN()) {
          if (userDN != null && !userDN.isRootDN()) {
            // If the provided DN is an alternate DN for a root user,
            // then replace it with the actual root DN.
            DN actualRootDN = DirectoryServer.getActualRootBindDN(userDN);