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

neil_a_wilson
16.59.2006 ca40d9d97f076d9839a90a80e3597daf5aa83687
Update the password modify extended operation to use the correct process for
determining if the requestor is a root user.
1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/extensions/PasswordModifyExtendedOperation.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/extensions/PasswordModifyExtendedOperation.java
@@ -894,8 +894,8 @@
      // Get an internal connection and use it to perform the modification.
      // FIXME -- Make a better determination here.
      AuthenticationInfo authInfo = new AuthenticationInfo(requestorDN, false);
      boolean isRoot = DirectoryServer.isRootDN(requestorDN);
      AuthenticationInfo authInfo = new AuthenticationInfo(requestorDN, isRoot);
      InternalClientConnection internalConnection = new
           InternalClientConnection(authInfo);