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

neil_a_wilson
30.01.2006 fc23c81a69fa707d1d47bbd8fb4863942e5e6f2b
Update the server to allow the use of the StartTLS extended operation when a
user's account is in the "must change" state.

OpenDS Issue Number: 1044
1 files modified
6 ■■■■■ changed files
opends/src/server/org/opends/server/core/DirectoryServer.java 6 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -6419,11 +6419,13 @@
                                       msgID);
        case EXTENDED:
          // This will only be allowed if it's a password modify request.
          // We will only allow the password modify and StartTLS extended
          // operations.
          ExtendedOperation extOp      = (ExtendedOperation) operation;
          String            requestOID = extOp.getRequestOID();
          if ((requestOID == null) ||
              (! requestOID.equals(OID_PASSWORD_MODIFY_REQUEST)))
              ((! requestOID.equals(OID_PASSWORD_MODIFY_REQUEST)) &&
               (! requestOID.equals(OID_START_TLS_REQUEST))))
          {
            msgID   = MSGID_ENQUEUE_MUST_CHANGE_PASSWORD;
            message = getMessage(msgID);