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

neil_a_wilson
29.30.2007 a791a43de44115e6e7f9de49a88cc2d452eb91a4
opends/src/server/org/opends/server/backends/task/TaskScheduler.java
@@ -1829,6 +1829,13 @@
    }
    String taskClassName = value.getStringValue();
    if (! DirectoryServer.getAllowedTasks().contains(taskClassName))
    {
      int    msgID   = MSGID_TASKSCHED_NOT_ALLOWED_TASK;
      String message = getMessage(msgID, taskClassName);
      throw new DirectoryException(ResultCode.UNWILLING_TO_PERFORM, message,
                                   msgID);
    }
    // Try to load the specified class.