[jboss-jira] [JBoss JIRA] (AS7-2036) CLI usability: jboss-admin needs to be able to authenticate users (using -u -p)
Darran Lofthouse (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Oct 12 05:20:16 EDT 2011
[ https://issues.jboss.org/browse/AS7-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634102#comment-12634102 ]
Darran Lofthouse commented on AS7-2036:
---------------------------------------
https://github.com/jbossas/jboss-as/commit/87a6c1b63271ae10f44ce5198d7db8e6bd33949a
https://github.com/jbossas/jboss-as/commit/2fb70f1df9472bc20105073ca02805826bcb67bc
> 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