Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2036

CLI usability: jboss-admin needs to be able to authenticate users (using -u -p)

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0.0.Final, 7.0.1.Final, 7.0.2.Final
    • Fix Version/s: 7.1.0.Beta1
    • Component/s: CLI, Scripts
    • Labels:
      None

      Description

      Only authenticated users can connect to the management interface (it's configured in the standalone.xml with security-realm="PropertiesMgmtSecurityRealm" in management-interface). This means, if you execute the above command it fails, because of missing authentication. In JBoss 6 that was possible with the arguments -u (user) and -p (password)

      For instance if you want to run a script it says:

      [rhusar@rhusar jboss-as-7.0.2.Final]$ bin/jboss-admin.sh -c --file=test.cli 
      Authenticating against security realm: localhost.localdomain
      The controller is not available at localhost:9999
      You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
      [rhusar@rhusar jboss-as-7.0.2.Final]$ 
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dlofthouse Darran Lofthouse
                  Reporter:
                  rhusar Radoslav Husar
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: