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

dsconfig should not loop if customer enters "invalid responses"

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 5.5.0
    • Fix Version/s: Not applicable
    • Component/s: tools
    • Labels:
      None

      Description

      dsconfig should not loop if customer enters "invalid responses".
      Instead it should exit after X invalid customer responses (for example exit after 10 wrong choices).

      Example of the current behaviour (tool does not exit):

      dsconfig --version
      5.5.0.SNAPSHOT (revision 240902234f949fca0b9560dd8717813f326108f9) 
      

        

      $ dsconfig -h localhost -p 4444 -D "cn=Directory Manager" -w password -X
      
      >>>> OpenDJ configuration console main menu
      What do you want to configure?
      1) Access Control Handler 23) Log Publisher
      2) Access Log Filtering Criteria 24) Log Retention Policy
      3) Account Status Notification Handler 25) Log Rotation Policy
      4) Administration Connector 26) Monitor Provider
      5) Alert Handler 27) Password Generator
      6) Backend 28) Password Policy
      7) Backend Index 29) Password Storage Scheme
      8) Backend VLV Index 30) Password Validator
      9) Certificate Mapper 31) Plugin
      10) Connection Handler 32) Plugin Root
      11) Crypto Manager 33) Replication Domain
      12) Debug Target 34) Replication Server
      13) Entry Cache 35) Root DN
      14) Extended Operation Handler 36) Root DSE Backend
      15) External Changelog Domain 37) SASL Mechanism Handler
      16) Global Access Control Policy 38) Schema Provider
      17) Global Configuration 39) Service Discovery Mechanism
      18) Group Implementation 40) Synchronization Provider
      19) HTTP Authorization Mechanism 41) Trust Manager Provider
      20) HTTP Endpoint 42) Virtual Attribute
      21) Identity Mapper 43) Work Queue
      22) Key Manager Provider
      a) show advanced components and properties
      q) quit
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      Invalid response. Please enter a valid menu option
      Enter choice:
      [...]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthew Matthew Swift
                Reporter:
                guillaume.andru Guillaume Andru
                Dev Assignee:
                Matthew Swift
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: