You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

576 lines
31 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <server xmlns="urn:jboss:domain:5.0">
  3. <extensions>
  4. <extension module="org.jboss.as.clustering.infinispan"/>
  5. <extension module="org.jboss.as.clustering.jgroups"/>
  6. <extension module="org.jboss.as.connector"/>
  7. <extension module="org.jboss.as.deployment-scanner"/>
  8. <extension module="org.jboss.as.ee"/>
  9. <extension module="org.jboss.as.ejb3"/>
  10. <extension module="org.jboss.as.jaxrs"/>
  11. <extension module="org.jboss.as.jdr"/>
  12. <extension module="org.jboss.as.jmx"/>
  13. <extension module="org.jboss.as.jpa"/>
  14. <extension module="org.jboss.as.jsf"/>
  15. <extension module="org.jboss.as.logging"/>
  16. <extension module="org.jboss.as.mail"/>
  17. <extension module="org.jboss.as.modcluster"/>
  18. <extension module="org.jboss.as.naming"/>
  19. <extension module="org.jboss.as.pojo"/>
  20. <extension module="org.jboss.as.remoting"/>
  21. <extension module="org.jboss.as.sar"/>
  22. <extension module="org.jboss.as.security"/>
  23. <extension module="org.jboss.as.transactions"/>
  24. <extension module="org.jboss.as.webservices"/>
  25. <extension module="org.jboss.as.weld"/>
  26. <extension module="org.wildfly.extension.batch.jberet"/>
  27. <extension module="org.wildfly.extension.bean-validation"/>
  28. <extension module="org.wildfly.extension.clustering.singleton"/>
  29. <extension module="org.wildfly.extension.core-management"/>
  30. <extension module="org.wildfly.extension.elytron"/>
  31. <extension module="org.wildfly.extension.io"/>
  32. <extension module="org.wildfly.extension.request-controller"/>
  33. <extension module="org.wildfly.extension.security.manager"/>
  34. <extension module="org.wildfly.extension.undertow"/>
  35. </extensions>
  36. <management>
  37. <security-realms>
  38. <security-realm name="ManagementRealm">
  39. <authentication>
  40. <local default-user="$local" skip-group-loading="true"/>
  41. <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
  42. </authentication>
  43. <authorization map-groups-to-roles="false">
  44. <properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/>
  45. </authorization>
  46. </security-realm>
  47. <security-realm name="ApplicationRealm">
  48. <server-identities>
  49. <ssl>
  50. <keystore path="application.keystore" relative-to="jboss.server.config.dir" keystore-password="password" alias="server" key-password="password" generate-self-signed-certificate-host="localhost"/>
  51. </ssl>
  52. </server-identities>
  53. <authentication>
  54. <local default-user="$local" allowed-users="*" skip-group-loading="true"/>
  55. <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>
  56. </authentication>
  57. <authorization>
  58. <properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>
  59. </authorization>
  60. </security-realm>
  61. </security-realms>
  62. <audit-log>
  63. <formatters>
  64. <json-formatter name="json-formatter"/>
  65. </formatters>
  66. <handlers>
  67. <file-handler name="file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.server.data.dir"/>
  68. </handlers>
  69. <logger log-boot="true" log-read-only="false" enabled="false">
  70. <handlers>
  71. <handler name="file"/>
  72. </handlers>
  73. </logger>
  74. </audit-log>
  75. <management-interfaces>
  76. <http-interface security-realm="ManagementRealm">
  77. <http-upgrade enabled="true"/>
  78. <socket-binding http="management-http"/>
  79. </http-interface>
  80. </management-interfaces>
  81. <access-control provider="simple">
  82. <role-mapping>
  83. <role name="SuperUser">
  84. <include>
  85. <user name="$local"/>
  86. </include>
  87. </role>
  88. </role-mapping>
  89. </access-control>
  90. </management>
  91. <profile>
  92. <subsystem xmlns="urn:jboss:domain:logging:3.0">
  93. <console-handler name="CONSOLE">
  94. <level name="INFO"/>
  95. <formatter>
  96. <named-formatter name="COLOR-PATTERN"/>
  97. </formatter>
  98. </console-handler>
  99. <periodic-rotating-file-handler name="FILE" autoflush="true">
  100. <formatter>
  101. <named-formatter name="PATTERN"/>
  102. </formatter>
  103. <file relative-to="jboss.server.log.dir" path="server.log"/>
  104. <suffix value=".yyyy-MM-dd"/>
  105. <append value="true"/>
  106. </periodic-rotating-file-handler>
  107. <logger category="com.arjuna">
  108. <level name="WARN"/>
  109. </logger>
  110. <logger category="org.jboss.as.config">
  111. <level name="DEBUG"/>
  112. </logger>
  113. <logger category="sun.rmi">
  114. <level name="WARN"/>
  115. </logger>
  116. <root-logger>
  117. <level name="INFO"/>
  118. <handlers>
  119. <handler name="CONSOLE"/>
  120. <handler name="FILE"/>
  121. </handlers>
  122. </root-logger>
  123. <formatter name="PATTERN">
  124. <pattern-formatter pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/>
  125. </formatter>
  126. <formatter name="COLOR-PATTERN">
  127. <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/>
  128. </formatter>
  129. </subsystem>
  130. <subsystem xmlns="urn:jboss:domain:batch-jberet:2.0">
  131. <default-job-repository name="in-memory"/>
  132. <default-thread-pool name="batch"/>
  133. <job-repository name="in-memory">
  134. <in-memory/>
  135. </job-repository>
  136. <thread-pool name="batch">
  137. <max-threads count="10"/>
  138. <keepalive-time time="30" unit="seconds"/>
  139. </thread-pool>
  140. </subsystem>
  141. <subsystem xmlns="urn:jboss:domain:bean-validation:1.0"/>
  142. <subsystem xmlns="urn:jboss:domain:core-management:1.0"/>
  143. <subsystem xmlns="urn:jboss:domain:datasources:5.0">
  144. <datasources>
  145. <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
  146. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
  147. <driver>h2</driver>
  148. <security>
  149. <user-name>sa</user-name>
  150. <password>sa</password>
  151. </security>
  152. </datasource>
  153. <drivers>
  154. <driver name="h2" module="com.h2database.h2">
  155. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  156. </driver>
  157. </drivers>
  158. </datasources>
  159. </subsystem>
  160. <subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">
  161. <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" runtime-failure-causes-rollback="${jboss.deployment.scanner.rollback.on.failure:false}"/>
  162. </subsystem>
  163. <subsystem xmlns="urn:jboss:domain:ee:4.0">
  164. <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
  165. <concurrent>
  166. <context-services>
  167. <context-service name="default" jndi-name="java:jboss/ee/concurrency/context/default" use-transaction-setup-provider="true"/>
  168. </context-services>
  169. <managed-thread-factories>
  170. <managed-thread-factory name="default" jndi-name="java:jboss/ee/concurrency/factory/default" context-service="default"/>
  171. </managed-thread-factories>
  172. <managed-executor-services>
  173. <managed-executor-service name="default" jndi-name="java:jboss/ee/concurrency/executor/default" context-service="default" hung-task-threshold="60000" keepalive-time="5000"/>
  174. </managed-executor-services>
  175. <managed-scheduled-executor-services>
  176. <managed-scheduled-executor-service name="default" jndi-name="java:jboss/ee/concurrency/scheduler/default" context-service="default" hung-task-threshold="60000" keepalive-time="3000"/>
  177. </managed-scheduled-executor-services>
  178. </concurrent>
  179. <default-bindings context-service="java:jboss/ee/concurrency/context/default" datasource="java:jboss/datasources/ExampleDS" managed-executor-service="java:jboss/ee/concurrency/executor/default" managed-scheduled-executor-service="java:jboss/ee/concurrency/scheduler/default" managed-thread-factory="java:jboss/ee/concurrency/factory/default"/>
  180. </subsystem>
  181. <subsystem xmlns="urn:jboss:domain:ejb3:5.0">
  182. <session-bean>
  183. <stateless>
  184. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  185. </stateless>
  186. <stateful default-access-timeout="5000" cache-ref="distributable" passivation-disabled-cache-ref="simple"/>
  187. <singleton default-access-timeout="5000"/>
  188. </session-bean>
  189. <pools>
  190. <bean-instance-pools>
  191. <strict-max-pool name="slsb-strict-max-pool" derive-size="from-worker-pools" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  192. <strict-max-pool name="mdb-strict-max-pool" derive-size="from-cpu-count" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  193. </bean-instance-pools>
  194. </pools>
  195. <caches>
  196. <cache name="simple"/>
  197. <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/>
  198. </caches>
  199. <passivation-stores>
  200. <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/>
  201. </passivation-stores>
  202. <async thread-pool-name="default"/>
  203. <timer-service thread-pool-name="default" default-data-store="default-file-store">
  204. <data-stores>
  205. <file-data-store name="default-file-store" path="timer-service-data" relative-to="jboss.server.data.dir"/>
  206. </data-stores>
  207. </timer-service>
  208. <remote connector-ref="http-remoting-connector" thread-pool-name="default">
  209. <channel-creation-options>
  210. <option name="READ_TIMEOUT" value="${prop.remoting-connector.read.timeout:20}" type="xnio"/>
  211. <option name="MAX_OUTBOUND_MESSAGES" value="1234" type="remoting"/>
  212. </channel-creation-options>
  213. </remote>
  214. <thread-pools>
  215. <thread-pool name="default">
  216. <max-threads count="10"/>
  217. <keepalive-time time="100" unit="milliseconds"/>
  218. </thread-pool>
  219. </thread-pools>
  220. <default-security-domain value="other"/>
  221. <default-missing-method-permissions-deny-access value="true"/>
  222. <log-system-exceptions value="true"/>
  223. </subsystem>
  224. <subsystem xmlns="urn:wildfly:elytron:1.2" final-providers="combined-providers" disallowed-providers="OracleUcrypto">
  225. <providers>
  226. <aggregate-providers name="combined-providers">
  227. <providers name="elytron"/>
  228. <providers name="openssl"/>
  229. </aggregate-providers>
  230. <provider-loader name="elytron" module="org.wildfly.security.elytron"/>
  231. <provider-loader name="openssl" module="org.wildfly.openssl"/>
  232. </providers>
  233. <audit-logging>
  234. <file-audit-log name="local-audit" path="audit.log" relative-to="jboss.server.log.dir" format="JSON"/>
  235. </audit-logging>
  236. <security-domains>
  237. <security-domain name="ApplicationDomain" default-realm="ApplicationRealm" permission-mapper="default-permission-mapper">
  238. <realm name="ApplicationRealm" role-decoder="groups-to-roles"/>
  239. <realm name="local"/>
  240. </security-domain>
  241. <security-domain name="ManagementDomain" default-realm="ManagementRealm" permission-mapper="default-permission-mapper">
  242. <realm name="ManagementRealm" role-decoder="groups-to-roles"/>
  243. <realm name="local" role-mapper="super-user-mapper"/>
  244. </security-domain>
  245. </security-domains>
  246. <security-realms>
  247. <identity-realm name="local" identity="$local"/>
  248. <properties-realm name="ApplicationRealm">
  249. <users-properties path="application-users.properties" relative-to="jboss.server.config.dir" digest-realm-name="ApplicationRealm"/>
  250. <groups-properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>
  251. </properties-realm>
  252. <properties-realm name="ManagementRealm">
  253. <users-properties path="mgmt-users.properties" relative-to="jboss.server.config.dir" digest-realm-name="ManagementRealm"/>
  254. <groups-properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/>
  255. </properties-realm>
  256. </security-realms>
  257. <mappers>
  258. <simple-permission-mapper name="default-permission-mapper" mapping-mode="first">
  259. <permission-mapping>
  260. <principal name="anonymous"/>
  261. <permission class-name="org.wildfly.extension.batch.jberet.deployment.BatchPermission" module="org.wildfly.extension.batch.jberet" target-name="*"/>
  262. <permission class-name="org.wildfly.transaction.client.RemoteTransactionPermission" module="org.wildfly.transaction.client"/>
  263. <permission class-name="org.jboss.ejb.client.RemoteEJBPermission" module="org.jboss.ejb-client"/>
  264. </permission-mapping>
  265. <permission-mapping match-all="true">
  266. <permission class-name="org.wildfly.security.auth.permission.LoginPermission"/>
  267. <permission class-name="org.wildfly.extension.batch.jberet.deployment.BatchPermission" module="org.wildfly.extension.batch.jberet" target-name="*"/>
  268. <permission class-name="org.wildfly.transaction.client.RemoteTransactionPermission" module="org.wildfly.transaction.client"/>
  269. <permission class-name="org.jboss.ejb.client.RemoteEJBPermission" module="org.jboss.ejb-client"/>
  270. </permission-mapping>
  271. </simple-permission-mapper>
  272. <constant-realm-mapper name="local" realm-name="local"/>
  273. <simple-role-decoder name="groups-to-roles" attribute="groups"/>
  274. <constant-role-mapper name="super-user-mapper">
  275. <role name="SuperUser"/>
  276. </constant-role-mapper>
  277. </mappers>
  278. <http>
  279. <http-authentication-factory name="management-http-authentication" http-server-mechanism-factory="global" security-domain="ManagementDomain">
  280. <mechanism-configuration>
  281. <mechanism mechanism-name="DIGEST">
  282. <mechanism-realm realm-name="ManagementRealm"/>
  283. </mechanism>
  284. </mechanism-configuration>
  285. </http-authentication-factory>
  286. <http-authentication-factory name="application-http-authentication" http-server-mechanism-factory="global" security-domain="ApplicationDomain">
  287. <mechanism-configuration>
  288. <mechanism mechanism-name="BASIC">
  289. <mechanism-realm realm-name="Application Realm"/>
  290. </mechanism>
  291. <mechanism mechanism-name="FORM"/>
  292. </mechanism-configuration>
  293. </http-authentication-factory>
  294. <provider-http-server-mechanism-factory name="global"/>
  295. </http>
  296. <sasl>
  297. <sasl-authentication-factory name="management-sasl-authentication" sasl-server-factory="configured" security-domain="ManagementDomain">
  298. <mechanism-configuration>
  299. <mechanism mechanism-name="JBOSS-LOCAL-USER" realm-mapper="local"/>
  300. <mechanism mechanism-name="DIGEST-MD5">
  301. <mechanism-realm realm-name="ManagementRealm"/>
  302. </mechanism>
  303. </mechanism-configuration>
  304. </sasl-authentication-factory>
  305. <sasl-authentication-factory name="application-sasl-authentication" sasl-server-factory="configured" security-domain="ApplicationDomain">
  306. <mechanism-configuration>
  307. <mechanism mechanism-name="JBOSS-LOCAL-USER" realm-mapper="local"/>
  308. <mechanism mechanism-name="DIGEST-MD5">
  309. <mechanism-realm realm-name="ApplicationRealm"/>
  310. </mechanism>
  311. </mechanism-configuration>
  312. </sasl-authentication-factory>
  313. <configurable-sasl-server-factory name="configured" sasl-server-factory="elytron">
  314. <properties>
  315. <property name="wildfly.sasl.local-user.default-user" value="$local"/>
  316. </properties>
  317. </configurable-sasl-server-factory>
  318. <mechanism-provider-filtering-sasl-server-factory name="elytron" sasl-server-factory="global">
  319. <filters>
  320. <filter provider-name="WildFlyElytron"/>
  321. </filters>
  322. </mechanism-provider-filtering-sasl-server-factory>
  323. <provider-sasl-server-factory name="global"/>
  324. </sasl>
  325. </subsystem>
  326. <subsystem xmlns="urn:jboss:domain:io:2.0">
  327. <worker name="default"/>
  328. <buffer-pool name="default"/>
  329. </subsystem>
  330. <subsystem xmlns="urn:jboss:domain:infinispan:4.0">
  331. <cache-container name="server" aliases="singleton cluster" default-cache="default" module="org.wildfly.clustering.server">
  332. <transport lock-timeout="60000"/>
  333. <replicated-cache name="default" mode="SYNC">
  334. <transaction mode="BATCH"/>
  335. </replicated-cache>
  336. </cache-container>
  337. <cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
  338. <transport lock-timeout="60000"/>
  339. <distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="5">
  340. <locking isolation="REPEATABLE_READ"/>
  341. <transaction mode="BATCH"/>
  342. <file-store/>
  343. </distributed-cache>
  344. </cache-container>
  345. <cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">
  346. <transport lock-timeout="60000"/>
  347. <distributed-cache name="dist">
  348. <locking isolation="REPEATABLE_READ"/>
  349. <transaction mode="BATCH"/>
  350. <file-store/>
  351. </distributed-cache>
  352. </cache-container>
  353. <cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">
  354. <transport lock-timeout="60000"/>
  355. <local-cache name="local-query">
  356. <eviction strategy="LRU" max-entries="10000"/>
  357. <expiration max-idle="100000"/>
  358. </local-cache>
  359. <invalidation-cache name="entity">
  360. <transaction mode="NON_XA"/>
  361. <eviction strategy="LRU" max-entries="10000"/>
  362. <expiration max-idle="100000"/>
  363. </invalidation-cache>
  364. <replicated-cache name="timestamps" mode="ASYNC"/>
  365. </cache-container>
  366. </subsystem>
  367. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  368. <subsystem xmlns="urn:jboss:domain:jca:5.0">
  369. <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
  370. <bean-validation enabled="true"/>
  371. <default-workmanager>
  372. <short-running-threads>
  373. <core-threads count="50"/>
  374. <queue-length count="50"/>
  375. <max-threads count="50"/>
  376. <keepalive-time time="10" unit="seconds"/>
  377. </short-running-threads>
  378. <long-running-threads>
  379. <core-threads count="50"/>
  380. <queue-length count="50"/>
  381. <max-threads count="50"/>
  382. <keepalive-time time="10" unit="seconds"/>
  383. </long-running-threads>
  384. </default-workmanager>
  385. <cached-connection-manager/>
  386. </subsystem>
  387. <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
  388. <subsystem xmlns="urn:jboss:domain:jgroups:5.0">
  389. <channels default="ee">
  390. <channel name="ee" stack="udp" cluster="ejb"/>
  391. </channels>
  392. <stacks>
  393. <stack name="udp">
  394. <transport type="UDP" socket-binding="jgroups-udp"/>
  395. <protocol type="PING"/>
  396. <protocol type="MERGE3"/>
  397. <protocol type="FD_SOCK"/>
  398. <protocol type="FD_ALL"/>
  399. <protocol type="VERIFY_SUSPECT"/>
  400. <protocol type="pbcast.NAKACK2"/>
  401. <protocol type="UNICAST3"/>
  402. <protocol type="pbcast.STABLE"/>
  403. <protocol type="pbcast.GMS"/>
  404. <protocol type="UFC"/>
  405. <protocol type="MFC"/>
  406. <protocol type="FRAG2"/>
  407. </stack>
  408. <stack name="tcp">
  409. <transport type="TCP" socket-binding="jgroups-tcp"/>
  410. <socket-protocol type="MPING" socket-binding="jgroups-mping"/>
  411. <protocol type="MERGE3"/>
  412. <protocol type="FD_SOCK"/>
  413. <protocol type="FD_ALL"/>
  414. <protocol type="VERIFY_SUSPECT"/>
  415. <protocol type="pbcast.NAKACK2"/>
  416. <protocol type="UNICAST3"/>
  417. <protocol type="pbcast.STABLE"/>
  418. <protocol type="pbcast.GMS"/>
  419. <protocol type="MFC"/>
  420. <protocol type="FRAG2"/>
  421. </stack>
  422. </stacks>
  423. </subsystem>
  424. <subsystem xmlns="urn:jboss:domain:jmx:1.3">
  425. <expose-resolved-model/>
  426. <expose-expression-model/>
  427. <remoting-connector/>
  428. </subsystem>
  429. <subsystem xmlns="urn:jboss:domain:jpa:1.1">
  430. <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
  431. </subsystem>
  432. <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
  433. <subsystem xmlns="urn:jboss:domain:mail:3.0">
  434. <mail-session name="default" jndi-name="java:jboss/mail/Default">
  435. <smtp-server outbound-socket-binding-ref="mail-smtp"/>
  436. </mail-session>
  437. </subsystem>
  438. <subsystem xmlns="urn:jboss:domain:modcluster:3.0">
  439. <mod-cluster-config advertise-socket="modcluster" connector="ajp">
  440. <dynamic-load-provider>
  441. <load-metric type="cpu"/>
  442. </dynamic-load-provider>
  443. </mod-cluster-config>
  444. </subsystem>
  445. <subsystem xmlns="urn:jboss:domain:naming:2.0">
  446. <remote-naming/>
  447. </subsystem>
  448. <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
  449. <subsystem xmlns="urn:jboss:domain:remoting:4.0">
  450. <endpoint/>
  451. <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
  452. </subsystem>
  453. <subsystem xmlns="urn:jboss:domain:resource-adapters:5.0"/>
  454. <subsystem xmlns="urn:jboss:domain:request-controller:1.0"/>
  455. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  456. <subsystem xmlns="urn:jboss:domain:security-manager:1.0">
  457. <deployment-permissions>
  458. <maximum-set>
  459. <permission class="java.security.AllPermission"/>
  460. </maximum-set>
  461. </deployment-permissions>
  462. </subsystem>
  463. <subsystem xmlns="urn:jboss:domain:security:2.0">
  464. <security-domains>
  465. <security-domain name="other" cache-type="default">
  466. <authentication>
  467. <login-module code="Remoting" flag="optional">
  468. <module-option name="password-stacking" value="useFirstPass"/>
  469. </login-module>
  470. <login-module code="RealmDirect" flag="required">
  471. <module-option name="password-stacking" value="useFirstPass"/>
  472. </login-module>
  473. </authentication>
  474. </security-domain>
  475. <security-domain name="jboss-web-policy" cache-type="default">
  476. <authorization>
  477. <policy-module code="Delegating" flag="required"/>
  478. </authorization>
  479. </security-domain>
  480. <security-domain name="jboss-ejb-policy" cache-type="default">
  481. <authorization>
  482. <policy-module code="Delegating" flag="required"/>
  483. </authorization>
  484. </security-domain>
  485. <security-domain name="jaspitest" cache-type="default">
  486. <authentication-jaspi>
  487. <login-module-stack name="dummy">
  488. <login-module code="Dummy" flag="optional"/>
  489. </login-module-stack>
  490. <auth-module code="Dummy"/>
  491. </authentication-jaspi>
  492. </security-domain>
  493. </security-domains>
  494. </subsystem>
  495. <subsystem xmlns="urn:jboss:domain:singleton:1.0">
  496. <singleton-policies default="default">
  497. <singleton-policy name="default" cache-container="server">
  498. <simple-election-policy/>
  499. </singleton-policy>
  500. </singleton-policies>
  501. </subsystem>
  502. <subsystem xmlns="urn:jboss:domain:transactions:4.0">
  503. <core-environment>
  504. <process-id>
  505. <uuid/>
  506. </process-id>
  507. </core-environment>
  508. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  509. <object-store path="tx-object-store" relative-to="jboss.server.data.dir"/>
  510. </subsystem>
  511. <subsystem xmlns="urn:jboss:domain:undertow:4.0">
  512. <buffer-cache name="default"/>
  513. <server name="default-server">
  514. <ajp-listener name="ajp" socket-binding="ajp"/>
  515. <http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true"/>
  516. <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
  517. <host name="default-host" alias="localhost">
  518. <location name="/" handler="welcome-content"/>
  519. <filter-ref name="server-header"/>
  520. <filter-ref name="x-powered-by-header"/>
  521. <http-invoker security-realm="ApplicationRealm"/>
  522. </host>
  523. </server>
  524. <servlet-container name="default">
  525. <jsp-config/>
  526. <websockets/>
  527. </servlet-container>
  528. <handlers>
  529. <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
  530. </handlers>
  531. <filters>
  532. <response-header name="server-header" header-name="Server" header-value="WildFly/11"/>
  533. <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>
  534. </filters>
  535. </subsystem>
  536. <subsystem xmlns="urn:jboss:domain:webservices:2.0">
  537. <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
  538. <endpoint-config name="Standard-Endpoint-Config"/>
  539. <endpoint-config name="Recording-Endpoint-Config">
  540. <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
  541. <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
  542. </pre-handler-chain>
  543. </endpoint-config>
  544. <client-config name="Standard-Client-Config"/>
  545. </subsystem>
  546. <subsystem xmlns="urn:jboss:domain:weld:4.0"/>
  547. </profile>
  548. <interfaces>
  549. <interface name="management">
  550. <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
  551. </interface>
  552. <interface name="public">
  553. <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  554. </interface>
  555. <interface name="private">
  556. <inet-address value="${jboss.bind.address.private:127.0.0.1}"/>
  557. </interface>
  558. </interfaces>
  559. <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
  560. <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
  561. <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>
  562. <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>
  563. <socket-binding name="http" port="${jboss.http.port:8080}"/>
  564. <socket-binding name="https" port="${jboss.https.port:8443}"/>
  565. <socket-binding name="jgroups-mping" interface="private" port="0" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45700"/>
  566. <socket-binding name="jgroups-tcp" interface="private" port="7600"/>
  567. <socket-binding name="jgroups-udp" interface="private" port="55200" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45688"/>
  568. <socket-binding name="modcluster" port="0" multicast-address="${jboss.modcluster.multicast.address:224.0.1.105}" multicast-port="23364"/>
  569. <socket-binding name="txn-recovery-environment" port="4712"/>
  570. <socket-binding name="txn-status-manager" port="4713"/>
  571. <outbound-socket-binding name="mail-smtp">
  572. <remote-destination host="localhost" port="25"/>
  573. </outbound-socket-binding>
  574. </socket-binding-group>
  575. </server>