1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?xml version='1.0' encoding='UTF-8'?>
- <host xmlns="urn:jboss:domain:1.4">
- <management>
- <security-realms>
- <security-realm name="ManagementRealm">
- <server-identities>
- <!-- Replace this with either a base64 password of your own, or use a vault with a vault expression -->
- <secret value="c2xhdmVfdXNlcl9wYXNzd29yZA=="/>
- </server-identities>
- <authentication>
- <local default-user="$local" />
- <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
- </authentication>
- </security-realm>
- <security-realm name="ApplicationRealm">
- <authentication>
- <local default-user="$local" allowed-users="*" />
- <properties path="application-users.properties" relative-to="jboss.domain.config.dir" />
- </authentication>
- <authorization>
- <properties path="application-roles.properties" relative-to="jboss.domain.config.dir"/>
- </authorization>
- </security-realm>
- </security-realms>
- <management-interfaces>
- <native-interface security-realm="ManagementRealm">
- <socket interface="management" port="${jboss.management.native.port:9999}"/>
- </native-interface>
- </management-interfaces>
- </management>
- <domain-controller>
- <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}" security-realm="ManagementRealm"/>
- </domain-controller>
- <interfaces>
- <interface name="management">
- <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
- </interface>
- <interface name="public">
- <inet-address value="${jboss.bind.address:127.0.0.1}"/>
- </interface>
- <interface name="unsecure">
- <!-- Used for IIOP sockets in the standard configuration.
- To secure JacORB you need to setup SSL -->
- <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
- </interface>
- </interfaces>
- <jvms>
- <jvm name="default">
- <heap size="64m" max-size="256m"/>
- <permgen size="256m" max-size="256m"/>
- <jvm-options>
- <option value="-server"/>
- </jvm-options>
- </jvm>
- </jvms>
- <servers>
- <server name="server-one" group="main-server-group"/>
- <server name="server-two" group="other-server-group">
- <!-- server-two avoids port conflicts by incrementing the ports in
- the default socket-group declared in the server-group -->
- <socket-bindings port-offset="150"/>
- </server>
- </servers>
- </host>
|