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)

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 7.1.0.Beta1
    • 7.0.0.Final, 7.0.1.Final, 7.0.2.Final
    • CLI, Scripts
    • 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]$ 
      

      Attachments

        Issue Links

          Activity

            People

              darran.lofthouse@redhat.com Darran Lofthouse
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: