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

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Beta1
    • 7.0.0.Final, 7.0.1.Final, 7.0.2.Final
    • CLI, Scripts
    • None

      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]$ 
      

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

                Created:
                Updated:
                Resolved: