[jboss-jira] [JBoss JIRA] (AS7-2036) CLI usability: jboss-admin needs to be able to authenticate users (using -u -p)

Darran Lofthouse (Assigned) (JIRA) jira-events at lists.jboss.org
Fri Oct 7 06:04:16 EDT 2011


     [ https://issues.jboss.org/browse/AS7-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse reassigned AS7-2036:
-------------------------------------

    Assignee: Darran Lofthouse  (was: Alexey Loubyansky)

    
> CLI usability: jboss-admin needs to be able to authenticate users (using -u -p)
> -------------------------------------------------------------------------------
>
>                 Key: AS7-2036
>                 URL: https://issues.jboss.org/browse/AS7-2036
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: CLI, Scripts
>    Affects Versions: 7.0.0.Final, 7.0.1.Final, 7.0.2.Final
>            Reporter: Radoslav Husar
>            Assignee: Darran Lofthouse
>             Fix For: 7.1.0.Beta1
>
>
> 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:
> {code}
> [rhusar at 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 at rhusar jboss-as-7.0.2.Final]$ 
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list