[jboss-jira] [JBoss JIRA] (AS7-4401) Users authenticatior, as defined in standalone.xml, appears not to be registered correctly

James Baxter (JIRA) jira-events at lists.jboss.org
Wed Apr 4 11:52:47 EDT 2012


James Baxter created AS7-4401:
---------------------------------

             Summary: Users authenticatior, as defined in standalone.xml, appears not to be registered correctly
                 Key: AS7-4401
                 URL: https://issues.jboss.org/browse/AS7-4401
             Project: Application Server 7
          Issue Type: Bug
    Affects Versions: 7.1.1.Final
         Environment: Linux Mint 12
            Reporter: James Baxter


The following configuration snippet (in standalone.xml) worked in 7.0.2.FINAL

            <security-realm name="ManagementRealm">
                <authentication>
                    <users>
                        <user username="username">
                            <password>secret</password>
                        </user>
                    </users>
                </authentication>
            </security-realm>

On a fresh install of 7.1.1.FINAL, it fails to startup with the following logging...

16:41:25,738 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
16:41:25,842 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
16:41:25,877 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
16:41:26,321 ERROR [org.jboss.as.controller] JBAS014611: No handler for add at address [
    ("core-service" => "management"),
    ("security-realm" => "ApplicationRealm"),
    ("authentication" => "users")
]
16:41:26,323 FATAL [org.jboss.as.server] JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
16:41:26,329 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 2ms


It's quite handy to define the user inline like this and is documented here: https://docs.jboss.org/author/display/AS71/Securing+the+Management+Interfaces

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