[jboss-jira] [JBoss JIRA] (WFLY-2154) http-interface is used instead of native-interface for native access

Ondrej Lukas (JIRA) jira-events at lists.jboss.org
Wed Sep 25 02:46:45 EDT 2013


Ondrej Lukas created WFLY-2154:
----------------------------------

             Summary: http-interface is used instead of native-interface for native access
                 Key: WFLY-2154
                 URL: https://issues.jboss.org/browse/WFLY-2154
             Project: WildFly
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 8.0.0.Beta1
            Reporter: Ondrej Lukas
            Assignee: Brian Stansberry
            Priority: Critical


Steps to reproduce:
1) create new Security Realm in standalone.xml:
<security-realm name="ManagementTestRealm">
	<authentication>
	    <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
	</authentication>
</security-realm>

2) make http-interface using this realm:
<http-interface security-realm="ManagementTestRealm" http-upgrade-enabled="true">
    <socket-binding http="management-http"/>
</http-interface>

3) start standalone server

4) run CLI with command ./jboss-cli -c
You will ask for user and password for ManagementTestRealm but this realm is NOT used for native interface! It should still used ManagementRealm not ManagementTestRealm. If you add <local default-user="$local"/> to ManagementTestRealm Security Realm and run CLI again, it connect successfully. It looks like there is used http-interface instead of native-interface.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list