Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2949

broker prompts console interactively for password when --auth=no

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      As a result of checkin svn r1024541, which promoted some client-side Sasl code to the common library for use in broker, the broker now prompts for a password when when it is run with --auth=no !

      The attached patch removes this behavior by propagating knowledge of "--auth=no" down to SaslFactory. If authorization has been turned off, the Saslfactory will create a null sasl object, just like it does if the code is compiled with no Sasl support.

      TODO – also must fix the pathway where auth==yes.

      NOTE: this is apparently an irritant rather than a disaster, since it did not affect make check after the original checkin ( r102451 ).

        Attachments

        1. dont_prompt_me_2.diff
          5 kB
          michael j. goulish

          Activity

            People

            • Assignee:
              mgoulish2 michael j. goulish
              Reporter:
              mgoulish2 michael j. goulish
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: