0 Replies Latest reply on Sep 17, 2012 8:05 AM by Rico Neubauer

    Deploy WAR to specific security-realm / interface

    Rico Neubauer Novice



      Want to deploy a web-app (WAR), but only bind it to a specific security realm. Especially, I want it to bind to the ManagementRealm and its related interface as configured in host.xml, like e.g. the JBossAS-console does.

      Is there a way to configure it, maybe using jboss-web.xml?



      <host name="master" xmlns="urn:jboss:domain:1.1">
                  <security-realm name="ManagementRealm">          <<<<<----------- This is the realm I want to bind to
                          <properties path="mgmt-users.properties"
                              relative-to="jboss.domain.config.dir" />
                  <native-interface security-realm="ManagementRealm">
                      <socket interface="management" port="9999" />
                  <http-interface security-realm="ManagementRealm">
                      <socket interface="management" port="9990" />
              <interface name="management">
                  <inet-address value="${jboss.bind.address.management:}" /><<<<<----------- This is the interface I want to bind to