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.

562 lines
31 KiB

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