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.

546 lines
30 KiB

6 years ago
6 years ago
6 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.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. <!-- KHHW PROD DB -->
  151. <datasource jta="true" jndi-name="java:/OraWhltKHHW7DS" pool-name="OraWhltKHHW7DS" enabled="true" use-ccm="true">
  152. <connection-url>jdbc:oracle:thin:@khhw7.wanhai.com:1521:whlt</connection-url>
  153. <driver-class>oracle.jdbc.OracleDriver</driver-class>
  154. <driver>oracle</driver>
  155. <security>
  156. <user-name>KHHTMLWEB01</user-name>
  157. <password>K5TGX8A2</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. <!-- KHHW UAT DB -->
  167. <datasource jta="true" jndi-name="java:/OraWhltKHHW58DS" pool-name="OraWhltKHHW58DS" enabled="true" use-ccm="true">
  168. <connection-url>jdbc:oracle:thin:@khhw58.wanhai.com:1521:whlt</connection-url>
  169. <driver-class>oracle.jdbc.OracleDriver</driver-class>
  170. <driver>oracle</driver>
  171. <security>
  172. <user-name>KHHTMLWEB01</user-name>
  173. <password>WEBKHHTML180713</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. <drivers>
  183. <!-- default add oracle/mysql jdbc drivers -->
  184. <driver name="mysql" module="com.mysql.jdbc"/>
  185. <driver name="oracle" module="com.oracle.jdbc"/>
  186. <driver name="h2" module="com.h2database.h2">
  187. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  188. </driver>
  189. </drivers>
  190. </datasources>
  191. </subsystem>
  192. <subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">
  193. <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}"/>
  194. </subsystem>
  195. <subsystem xmlns="urn:jboss:domain:ee:4.0">
  196. <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
  197. <concurrent>
  198. <context-services>
  199. <context-service name="default" jndi-name="java:jboss/ee/concurrency/context/default" use-transaction-setup-provider="true"/>
  200. </context-services>
  201. <managed-thread-factories>
  202. <managed-thread-factory name="default" jndi-name="java:jboss/ee/concurrency/factory/default" context-service="default"/>
  203. </managed-thread-factories>
  204. <managed-executor-services>
  205. <managed-executor-service name="default" jndi-name="java:jboss/ee/concurrency/executor/default" context-service="default" hung-task-threshold="60000" keepalive-time="5000"/>
  206. </managed-executor-services>
  207. <managed-scheduled-executor-services>
  208. <managed-scheduled-executor-service name="default" jndi-name="java:jboss/ee/concurrency/scheduler/default" context-service="default" hung-task-threshold="60000" keepalive-time="3000"/>
  209. </managed-scheduled-executor-services>
  210. </concurrent>
  211. <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"/>
  212. </subsystem>
  213. <subsystem xmlns="urn:jboss:domain:ejb3:5.0">
  214. <session-bean>
  215. <stateless>
  216. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  217. </stateless>
  218. <stateful default-access-timeout="5000" cache-ref="simple" passivation-disabled-cache-ref="simple"/>
  219. <singleton default-access-timeout="5000"/>
  220. </session-bean>
  221. <pools>
  222. <bean-instance-pools>
  223. <strict-max-pool name="slsb-strict-max-pool" derive-size="from-worker-pools" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  224. <strict-max-pool name="mdb-strict-max-pool" derive-size="from-cpu-count" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  225. </bean-instance-pools>
  226. </pools>
  227. <caches>
  228. <cache name="simple"/>
  229. <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/>
  230. </caches>
  231. <passivation-stores>
  232. <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/>
  233. </passivation-stores>
  234. <async thread-pool-name="default"/>
  235. <timer-service thread-pool-name="default" default-data-store="default-file-store">
  236. <data-stores>
  237. <file-data-store name="default-file-store" path="timer-service-data" relative-to="jboss.server.data.dir"/>
  238. </data-stores>
  239. </timer-service>
  240. <remote connector-ref="http-remoting-connector" thread-pool-name="default">
  241. <channel-creation-options>
  242. <option name="READ_TIMEOUT" value="${prop.remoting-connector.read.timeout:20}" type="xnio"/>
  243. <option name="MAX_OUTBOUND_MESSAGES" value="1234" type="remoting"/>
  244. </channel-creation-options>
  245. </remote>
  246. <thread-pools>
  247. <thread-pool name="default">
  248. <max-threads count="10"/>
  249. <keepalive-time time="100" unit="milliseconds"/>
  250. </thread-pool>
  251. </thread-pools>
  252. <default-security-domain value="other"/>
  253. <default-missing-method-permissions-deny-access value="true"/>
  254. <log-system-exceptions value="true"/>
  255. </subsystem>
  256. <subsystem xmlns="urn:wildfly:elytron:1.2" final-providers="combined-providers" disallowed-providers="OracleUcrypto">
  257. <providers>
  258. <aggregate-providers name="combined-providers">
  259. <providers name="elytron"/>
  260. <providers name="openssl"/>
  261. </aggregate-providers>
  262. <provider-loader name="elytron" module="org.wildfly.security.elytron"/>
  263. <provider-loader name="openssl" module="org.wildfly.openssl"/>
  264. </providers>
  265. <audit-logging>
  266. <file-audit-log name="local-audit" path="audit.log" relative-to="jboss.server.log.dir" format="JSON"/>
  267. </audit-logging>
  268. <security-domains>
  269. <security-domain name="ApplicationDomain" default-realm="ApplicationRealm" permission-mapper="default-permission-mapper">
  270. <realm name="ApplicationRealm" role-decoder="groups-to-roles"/>
  271. <realm name="local"/>
  272. </security-domain>
  273. <security-domain name="ManagementDomain" default-realm="ManagementRealm" permission-mapper="default-permission-mapper">
  274. <realm name="ManagementRealm" role-decoder="groups-to-roles"/>
  275. <realm name="local" role-mapper="super-user-mapper"/>
  276. </security-domain>
  277. </security-domains>
  278. <security-realms>
  279. <identity-realm name="local" identity="$local"/>
  280. <properties-realm name="ApplicationRealm">
  281. <users-properties path="application-users.properties" relative-to="jboss.server.config.dir" digest-realm-name="ApplicationRealm"/>
  282. <groups-properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>
  283. </properties-realm>
  284. <properties-realm name="ManagementRealm">
  285. <users-properties path="mgmt-users.properties" relative-to="jboss.server.config.dir" digest-realm-name="ManagementRealm"/>
  286. <groups-properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/>
  287. </properties-realm>
  288. </security-realms>
  289. <mappers>
  290. <simple-permission-mapper name="default-permission-mapper" mapping-mode="first">
  291. <permission-mapping>
  292. <principal name="anonymous"/>
  293. <permission class-name="org.wildfly.extension.batch.jberet.deployment.BatchPermission" module="org.wildfly.extension.batch.jberet" target-name="*"/>
  294. <permission class-name="org.wildfly.transaction.client.RemoteTransactionPermission" module="org.wildfly.transaction.client"/>
  295. <permission class-name="org.jboss.ejb.client.RemoteEJBPermission" module="org.jboss.ejb-client"/>
  296. </permission-mapping>
  297. <permission-mapping match-all="true">
  298. <permission class-name="org.wildfly.security.auth.permission.LoginPermission"/>
  299. <permission class-name="org.wildfly.extension.batch.jberet.deployment.BatchPermission" module="org.wildfly.extension.batch.jberet" target-name="*"/>
  300. <permission class-name="org.wildfly.transaction.client.RemoteTransactionPermission" module="org.wildfly.transaction.client"/>
  301. <permission class-name="org.jboss.ejb.client.RemoteEJBPermission" module="org.jboss.ejb-client"/>
  302. </permission-mapping>
  303. </simple-permission-mapper>
  304. <constant-realm-mapper name="local" realm-name="local"/>
  305. <simple-role-decoder name="groups-to-roles" attribute="groups"/>
  306. <constant-role-mapper name="super-user-mapper">
  307. <role name="SuperUser"/>
  308. </constant-role-mapper>
  309. </mappers>
  310. <http>
  311. <http-authentication-factory name="management-http-authentication" http-server-mechanism-factory="global" security-domain="ManagementDomain">
  312. <mechanism-configuration>
  313. <mechanism mechanism-name="DIGEST">
  314. <mechanism-realm realm-name="ManagementRealm"/>
  315. </mechanism>
  316. </mechanism-configuration>
  317. </http-authentication-factory>
  318. <http-authentication-factory name="application-http-authentication" http-server-mechanism-factory="global" security-domain="ApplicationDomain">
  319. <mechanism-configuration>
  320. <mechanism mechanism-name="BASIC">
  321. <mechanism-realm realm-name="Application Realm"/>
  322. </mechanism>
  323. <mechanism mechanism-name="FORM"/>
  324. </mechanism-configuration>
  325. </http-authentication-factory>
  326. <provider-http-server-mechanism-factory name="global"/>
  327. </http>
  328. <sasl>
  329. <sasl-authentication-factory name="management-sasl-authentication" sasl-server-factory="configured" security-domain="ManagementDomain">
  330. <mechanism-configuration>
  331. <mechanism mechanism-name="JBOSS-LOCAL-USER" realm-mapper="local"/>
  332. <mechanism mechanism-name="DIGEST-MD5">
  333. <mechanism-realm realm-name="ManagementRealm"/>
  334. </mechanism>
  335. </mechanism-configuration>
  336. </sasl-authentication-factory>
  337. <sasl-authentication-factory name="application-sasl-authentication" sasl-server-factory="configured" security-domain="ApplicationDomain">
  338. <mechanism-configuration>
  339. <mechanism mechanism-name="JBOSS-LOCAL-USER" realm-mapper="local"/>
  340. <mechanism mechanism-name="DIGEST-MD5">
  341. <mechanism-realm realm-name="ApplicationRealm"/>
  342. </mechanism>
  343. </mechanism-configuration>
  344. </sasl-authentication-factory>
  345. <configurable-sasl-server-factory name="configured" sasl-server-factory="elytron">
  346. <properties>
  347. <property name="wildfly.sasl.local-user.default-user" value="$local"/>
  348. </properties>
  349. </configurable-sasl-server-factory>
  350. <mechanism-provider-filtering-sasl-server-factory name="elytron" sasl-server-factory="global">
  351. <filters>
  352. <filter provider-name="WildFlyElytron"/>
  353. </filters>
  354. </mechanism-provider-filtering-sasl-server-factory>
  355. <provider-sasl-server-factory name="global"/>
  356. </sasl>
  357. </subsystem>
  358. <subsystem xmlns="urn:jboss:domain:io:2.0">
  359. <worker name="default"/>
  360. <buffer-pool name="default"/>
  361. </subsystem>
  362. <subsystem xmlns="urn:jboss:domain:infinispan:4.0">
  363. <cache-container name="server" default-cache="default" module="org.wildfly.clustering.server">
  364. <local-cache name="default">
  365. <transaction mode="BATCH"/>
  366. </local-cache>
  367. </cache-container>
  368. <cache-container name="web" default-cache="passivation" module="org.wildfly.clustering.web.infinispan">
  369. <local-cache name="passivation">
  370. <locking isolation="REPEATABLE_READ"/>
  371. <transaction mode="BATCH"/>
  372. <file-store passivation="true" purge="false"/>
  373. </local-cache>
  374. </cache-container>
  375. <cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan">
  376. <local-cache name="passivation">
  377. <locking isolation="REPEATABLE_READ"/>
  378. <transaction mode="BATCH"/>
  379. <file-store passivation="true" purge="false"/>
  380. </local-cache>
  381. </cache-container>
  382. <cache-container name="hibernate" module="org.hibernate.infinispan">
  383. <local-cache name="entity">
  384. <transaction mode="NON_XA"/>
  385. <eviction strategy="LRU" max-entries="10000"/>
  386. <expiration max-idle="100000"/>
  387. </local-cache>
  388. <local-cache name="local-query">
  389. <eviction strategy="LRU" max-entries="10000"/>
  390. <expiration max-idle="100000"/>
  391. </local-cache>
  392. <local-cache name="timestamps"/>
  393. </cache-container>
  394. </subsystem>
  395. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  396. <subsystem xmlns="urn:jboss:domain:jca:5.0">
  397. <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
  398. <bean-validation enabled="true"/>
  399. <default-workmanager>
  400. <short-running-threads>
  401. <core-threads count="50"/>
  402. <queue-length count="50"/>
  403. <max-threads count="50"/>
  404. <keepalive-time time="10" unit="seconds"/>
  405. </short-running-threads>
  406. <long-running-threads>
  407. <core-threads count="50"/>
  408. <queue-length count="50"/>
  409. <max-threads count="50"/>
  410. <keepalive-time time="10" unit="seconds"/>
  411. </long-running-threads>
  412. </default-workmanager>
  413. <cached-connection-manager/>
  414. </subsystem>
  415. <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
  416. <subsystem xmlns="urn:jboss:domain:jmx:1.3">
  417. <expose-resolved-model/>
  418. <expose-expression-model/>
  419. <remoting-connector/>
  420. </subsystem>
  421. <subsystem xmlns="urn:jboss:domain:jpa:1.1">
  422. <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
  423. </subsystem>
  424. <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
  425. <subsystem xmlns="urn:jboss:domain:mail:3.0">
  426. <mail-session name="default" jndi-name="java:jboss/mail/Default">
  427. <smtp-server outbound-socket-binding-ref="mail-smtp"/>
  428. </mail-session>
  429. </subsystem>
  430. <subsystem xmlns="urn:jboss:domain:naming:2.0">
  431. <remote-naming/>
  432. </subsystem>
  433. <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
  434. <subsystem xmlns="urn:jboss:domain:remoting:4.0">
  435. <endpoint/>
  436. <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
  437. </subsystem>
  438. <subsystem xmlns="urn:jboss:domain:resource-adapters:5.0"/>
  439. <subsystem xmlns="urn:jboss:domain:request-controller:1.0"/>
  440. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  441. <subsystem xmlns="urn:jboss:domain:security-manager:1.0">
  442. <deployment-permissions>
  443. <maximum-set>
  444. <permission class="java.security.AllPermission"/>
  445. </maximum-set>
  446. </deployment-permissions>
  447. </subsystem>
  448. <subsystem xmlns="urn:jboss:domain:security:2.0">
  449. <security-domains>
  450. <security-domain name="other" cache-type="default">
  451. <authentication>
  452. <login-module code="Remoting" flag="optional">
  453. <module-option name="password-stacking" value="useFirstPass"/>
  454. </login-module>
  455. <login-module code="RealmDirect" flag="required">
  456. <module-option name="password-stacking" value="useFirstPass"/>
  457. </login-module>
  458. </authentication>
  459. </security-domain>
  460. <security-domain name="jboss-web-policy" cache-type="default">
  461. <authorization>
  462. <policy-module code="Delegating" flag="required"/>
  463. </authorization>
  464. </security-domain>
  465. <security-domain name="jboss-ejb-policy" cache-type="default">
  466. <authorization>
  467. <policy-module code="Delegating" flag="required"/>
  468. </authorization>
  469. </security-domain>
  470. <security-domain name="jaspitest" cache-type="default">
  471. <authentication-jaspi>
  472. <login-module-stack name="dummy">
  473. <login-module code="Dummy" flag="optional"/>
  474. </login-module-stack>
  475. <auth-module code="Dummy"/>
  476. </authentication-jaspi>
  477. </security-domain>
  478. </security-domains>
  479. </subsystem>
  480. <subsystem xmlns="urn:jboss:domain:transactions:4.0">
  481. <core-environment>
  482. <process-id>
  483. <uuid/>
  484. </process-id>
  485. </core-environment>
  486. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  487. <object-store path="tx-object-store" relative-to="jboss.server.data.dir"/>
  488. </subsystem>
  489. <subsystem xmlns="urn:jboss:domain:undertow:4.0">
  490. <buffer-cache name="default"/>
  491. <server name="default-server">
  492. <http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true"/>
  493. <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
  494. <host name="default-host" alias="localhost">
  495. <location name="/" handler="welcome-content"/>
  496. <filter-ref name="server-header"/>
  497. <filter-ref name="x-powered-by-header"/>
  498. <http-invoker security-realm="ApplicationRealm"/>
  499. </host>
  500. </server>
  501. <servlet-container name="default">
  502. <jsp-config/>
  503. <websockets/>
  504. </servlet-container>
  505. <handlers>
  506. <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
  507. </handlers>
  508. <filters>
  509. <response-header name="server-header" header-name="Server" header-value="WildFly/11"/>
  510. <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>
  511. </filters>
  512. </subsystem>
  513. <subsystem xmlns="urn:jboss:domain:webservices:2.0">
  514. <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
  515. <endpoint-config name="Standard-Endpoint-Config"/>
  516. <endpoint-config name="Recording-Endpoint-Config">
  517. <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
  518. <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
  519. </pre-handler-chain>
  520. </endpoint-config>
  521. <client-config name="Standard-Client-Config"/>
  522. </subsystem>
  523. <subsystem xmlns="urn:jboss:domain:weld:4.0"/>
  524. </profile>
  525. <interfaces>
  526. <interface name="management">
  527. <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
  528. </interface>
  529. <interface name="public">
  530. <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  531. </interface>
  532. </interfaces>
  533. <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
  534. <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
  535. <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>
  536. <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>
  537. <socket-binding name="http" port="${jboss.http.port:8080}"/>
  538. <socket-binding name="https" port="${jboss.https.port:8443}"/>
  539. <socket-binding name="txn-recovery-environment" port="4712"/>
  540. <socket-binding name="txn-status-manager" port="4713"/>
  541. <outbound-socket-binding name="mail-smtp">
  542. <remote-destination host="localhost" port="25"/>
  543. </outbound-socket-binding>
  544. </socket-binding-group>
  545. </server>