host-master.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!--
  3. A simple configuration for a Host Controller that only acts as the master domain controller
  4. and does not itself directly control any servers.
  5. -->
  6. <host name="master" xmlns="urn:jboss:domain:1.4">
  7. <management>
  8. <security-realms>
  9. <security-realm name="ManagementRealm">
  10. <authentication>
  11. <local default-user="$local" />
  12. <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
  13. </authentication>
  14. </security-realm>
  15. <security-realm name="ApplicationRealm">
  16. <authentication>
  17. <local default-user="$local" allowed-users="*" />
  18. <properties path="application-users.properties" relative-to="jboss.domain.config.dir" />
  19. </authentication>
  20. <authorization>
  21. <properties path="application-roles.properties" relative-to="jboss.domain.config.dir"/>
  22. </authorization>
  23. </security-realm>
  24. </security-realms>
  25. <management-interfaces>
  26. <native-interface security-realm="ManagementRealm">
  27. <socket interface="management" port="${jboss.management.native.port:9999}"/>
  28. </native-interface>
  29. <http-interface security-realm="ManagementRealm">
  30. <socket interface="management" port="${jboss.management.http.port:9990}"/>
  31. </http-interface>
  32. </management-interfaces>
  33. </management>
  34. <domain-controller>
  35. <local/>
  36. </domain-controller>
  37. <interfaces>
  38. <interface name="management">
  39. <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
  40. </interface>
  41. </interfaces>
  42. <jvms>
  43. <jvm name="default">
  44. <heap size="64m" max-size="256m"/>
  45. <permgen size="256m" max-size="256m"/>
  46. <jvm-options>
  47. <option value="-server"/>
  48. </jvm-options>
  49. </jvm>
  50. </jvms>
  51. </host>