Java Reference
In-Depth Information
<host name="server2" xmlns="urn:jboss:domain:2.0">
...
</host>
Next, we need to specify that the host controller will connect to a remote domain control-
ler. We will not specify the actual IP address of the domain controller but leave it as a
property named jboss.domain.master.address .
Additionally, we need to specify the username that will be used to connect to the domain
controller. So let's add the user admin1234 , which we created on the domain controller
machine:
<domain-controller>
<remote host="${jboss.domain.master.address}"
port="${jboss.domain.master.port:9999}"
username="admin1234"
security-realm="ManagementRealm"/>
</domain-controller>
Finally, we need to specify the Base64 password for the server identity that we included in
the remote element:
<management>
<security-realms>
<security-realm name="ManagementRealm">
<server-identities>
<secret value="QWxlc3NhbmRybzIh" />
</server-identities>
<authentication>
<properties path="mgmt-users.properties"
relative-to="jboss.domain.config.dir" />
</authentication>
</security-realm>
<security-realm name="ApplicationRealm">
<authentication>
<properties path="application-users.properties"
relative-to="jboss.domain.config.dir" />
</authentication>
</security-realm>
Search WWH ::




Custom Search