Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-2972

A PreOperationBind plugin can't stop processing and return success.

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 2.6.4, 2.6.2
    • Fix Version/s: Not applicable
    • Component/s: core server
    • Labels:
      None
    • Environment:
      RHEL 6, Java 1.7.7x

      Description

      Also see https://forgerock.org/topic/password-validation-via-a-plugin/#post-10078

      Doing the following in a OpenDJ Plugin

      public PreOperation doPreOperation(PreOperationBindOperation bindOp) {
      ...
      PreOperation.stopProcessing(ResultCode.SUCCESS, Message.raw("Plugin Bind Success."));
      

      Doesn't stop the processing of the BindRequest. It still goes on to do further processing including checking the password.

        Attachments

          Activity

            People

            • Assignee:
              JnRouvignac Jean-Noël Rouvignac
              Reporter:
              mavnom Matthew Stevenson [X] (Inactive)
              Dev Assignee:
              Jean-Noël Rouvignac
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: