Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13095

CLI batch incorrect credentials returns username prompt

    XMLWordPrintable

Details

    • Bug
    • Status: New (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 13.0.0.Dev01, 12.1.4.Final
    • None
    • CLI
    • None
    • Hide
      ./bin/cli.sh -c "http://no-existent-user:pass@localhost:11222" -f batch.file
      
      Show
      ./bin/cli.sh -c "http: //no-existent-user:pass@localhost:11222" -f batch.file

    Description

      When connecting to the CLI with an incorrect connection string a username prompt is returned to the user so that they can re-enter the correct credentials. In batch mode this does not make sense as it breaks scripts and other integrations. Instead the batch should fail and the CLI exit with a non-zero exit code.

      Attachments

        Activity

          People

            Unassigned Unassigned
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: