Advertisement
Guest User

Keycloak - Importing realm 8.0.2 error

a guest
Mar 4th, 2020
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.14 KB | None | 0 0
  1. 07:11:40,660 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 43) WFLYSRV0021: Deploy of deployment "keycloak-server.war" was rolled back with the following failure message:
  2. {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"keycloak-server.war\".undertow-deployment" => "java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication()
  3. Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication()
  4. Caused by: java.lang.NullPointerException"}}
  5. 07:11:40,703 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0403: Unexpected failure during execution of the following operation(s): [{
  6. "address" => [
  7. ("core-service" => "management"),
  8. ("security-realm" => "ManagementRealm")
  9. ],
  10. "operation" => "add",
  11. "map-groups-to-roles" => false
  12. }, {
  13. "operation" => "add",
  14. "address" => [
  15. ("core-service" => "management"),
  16. ("security-realm" => "ManagementRealm"),
  17. ("authentication" => "local")
  18. ],
  19. "default-user" => "$local",
  20. "skip-group-loading" => true
  21. }, {
  22. "operation" => "add",
  23. "address" => [
  24. ("core-service" => "management"),
  25. ("security-realm" => "ManagementRealm"),
  26. ("authentication" => "properties")
  27. ],
  28. "path" => "mgmt-users.properties",
  29. "relative-to" => "jboss.server.config.dir"
  30. }, {
  31. "operation" => "add",
  32. "address" => [
  33. ("core-service" => "management"),
  34. ("security-realm" => "ManagementRealm"),
  35. ("authorization" => "properties")
  36. ],
  37. "path" => "mgmt-groups.properties",
  38. "relative-to" => "jboss.server.config.dir"
  39. }, {
  40. "address" => [
  41. ("core-service" => "management"),
  42. ("security-realm" => "ApplicationRealm")
  43. ],
  44. "operation" => "add"
  45. }, {
  46. "operation" => "add",
  47. "address" => [
  48. ("core-service" => "management"),
  49. ("security-realm" => "ApplicationRealm"),
  50. ("server-identity" => "ssl")
  51. ],
  52. "keystore-path" => "application.keystore",
  53. "keystore-relative-to" => "jboss.server.config.dir",
  54. "keystore-password" => "password",
  55. "alias" => "server",
  56. "key-password" => "password",
  57. "generate-self-signed-certificate-host" => "localhost"
  58. }, {
  59. "operation" => "add",
  60. "address" => [
  61. ("core-service" => "management"),
  62. ("security-realm" => "ApplicationRealm"),
  63. ("authentication" => "local")
  64. ],
  65. "default-user" => "$local",
  66. "allowed-users" => "*",
  67. "skip-group-loading" => true
  68. }, {
  69. "operation" => "add",
  70. "address" => [
  71. ("core-service" => "management"),
  72. ("security-realm" => "ApplicationRealm"),
  73. ("authentication" => "properties")
  74. ],
  75. "path" => "application-users.properties",
  76. "relative-to" => "jboss.server.config.dir"
  77. }, {
  78. "operation" => "add",
  79. "address" => [
  80. ("core-service" => "management"),
  81. ("security-realm" => "ApplicationRealm"),
  82. ("authorization" => "properties")
  83. ],
  84. "path" => "application-roles.properties",
  85. "relative-to" => "jboss.server.config.dir"
  86. }, {
  87. "operation" => "add",
  88. "address" => [
  89. ("core-service" => "management"),
  90. ("access" => "audit")
  91. ]
  92. }, {
  93. "operation" => "add",
  94. "address" => [
  95. ("core-service" => "management"),
  96. ("access" => "audit"),
  97. ("json-formatter" => "json-formatter")
  98. ]
  99. }, {
  100. "operation" => "add",
  101. "address" => [
  102. ("core-service" => "management"),
  103. ("access" => "audit"),
  104. ("file-handler" => "file")
  105. ],
  106. "formatter" => "json-formatter",
  107. "path" => "audit-log.log",
  108. "relative-to" => "jboss.server.data.dir"
  109. }, {
  110. "operation" => "add",
  111. "address" => [
  112. ("core-service" => "management"),
  113. ("access" => "audit"),
  114. ("logger" => "audit-log")
  115. ],
  116. "log-boot" => true,
  117. "log-read-only" => false,
  118. "enabled" => false
  119. }, {
  120. "operation" => "add",
  121. "address" => [
  122. ("core-service" => "management"),
  123. ("access" => "audit"),
  124. ("logger" => "audit-log"),
  125. ("handler" => "file")
  126. ]
  127. }, {
  128. "operation" => "add",
  129. "address" => [
  130. ("core-service" => "management"),
  131. ("management-interface" => "http-interface")
  132. ],
  133. "security-realm" => "ManagementRealm",
  134. "http-upgrade" => {"enabled" => true},
  135. "socket-binding" => "management-http"
  136. }, {
  137. "operation" => "write-attribute",
  138. "address" => [
  139. ("core-service" => "management"),
  140. ("access" => "authorization")
  141. ],
  142. "name" => "provider",
  143. "value" => "simple"
  144. }, {
  145. "address" => [
  146. ("core-service" => "management"),
  147. ("access" => "authorization"),
  148. ("role-mapping" => "SuperUser")
  149. ],
  150. "operation" => "add"
  151. }, {
  152. "operation" => "add",
  153. "type" => "user",
  154. "name" => "$local",
  155. "address" => [
  156. ("core-service" => "management"),
  157. ("access" => "authorization"),
  158. ("role-mapping" => "SuperUser"),
  159. ("include" => "user-$local")
  160. ]
  161. }, {
  162. "address" => [("interface" => "management")],
  163. "operation" => "add",
  164. "inet-address" => expression "${jboss.bind.address.management:127.0.0.1}"
  165. }, {
  166. "address" => [("interface" => "public")],
  167. "operation" => "add",
  168. "inet-address" => expression "${jboss.bind.address:127.0.0.1}"
  169. }, {
  170. "operation" => "add",
  171. "address" => [("socket-binding-group" => "standard-sockets")],
  172. "default-interface" => "public",
  173. "port-offset" => expression "${jboss.socket.binding.port-offset:0}"
  174. }, {
  175. "address" => [
  176. ("socket-binding-group" => "standard-sockets"),
  177. ("socket-binding" => "ajp")
  178. ],
  179. "operation" => "add",
  180. "port" => expression "${jboss.ajp.port:8009}"
  181. }, {
  182. "address" => [
  183. ("socket-binding-group" => "standard-sockets"),
  184. ("socket-binding" => "http")
  185. ],
  186. "operation" => "add",
  187. "port" => expression "${jboss.http.port:8080}"
  188. }, {
  189. "address" => [
  190. ("socket-binding-group" => "standard-sockets"),
  191. ("socket-binding" => "https")
  192. ],
  193. "operation" => "add",
  194. "port" => expression "${jboss.https.port:8443}"
  195. }, {
  196. "address" => [
  197. ("socket-binding-group" => "standard-sockets"),
  198. ("socket-binding" => "management-http")
  199. ],
  200. "operation" => "add",
  201. "interface" => "management",
  202. "port" => expression "${jboss.management.http.port:9990}"
  203. }, {
  204. "address" => [
  205. ("socket-binding-group" => "standard-sockets"),
  206. ("socket-binding" => "management-https")
  207. ],
  208. "operation" => "add",
  209. "interface" => "management",
  210. "port" => expression "${jboss.management.https.port:9993}"
  211. }, {
  212. "address" => [
  213. ("socket-binding-group" => "standard-sockets"),
  214. ("socket-binding" => "txn-recovery-environment")
  215. ],
  216. "operation" => "add",
  217. "port" => 4712
  218. }, {
  219. "address" => [
  220. ("socket-binding-group" => "standard-sockets"),
  221. ("socket-binding" => "txn-status-manager")
  222. ],
  223. "operation" => "add",
  224. "port" => 4713
  225. }, {
  226. "operation" => "add",
  227. "host" => "localhost",
  228. "port" => 25,
  229. "address" => [
  230. ("socket-binding-group" => "standard-sockets"),
  231. ("remote-destination-outbound-socket-binding" => "mail-smtp")
  232. ]
  233. }, {
  234. "operation" => "parallel-subsystem-boot",
  235. "address" => []
  236. }, {
  237. "operation" => "add",
  238. "address" => [("subsystem" => "logging")]
  239. }, {
  240. "operation" => "add",
  241. "address" => [
  242. ("subsystem" => "logging"),
  243. ("pattern-formatter" => "PATTERN")
  244. ],
  245. "pattern" => "%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"
  246. }, {
  247. "operation" => "add",
  248. "address" => [
  249. ("subsystem" => "logging"),
  250. ("pattern-formatter" => "COLOR-PATTERN")
  251. ],
  252. "pattern" => "%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"
  253. }, {
  254. "operation" => "add",
  255. "address" => [
  256. ("subsystem" => "logging"),
  257. ("console-handler" => "CONSOLE")
  258. ],
  259. "named-formatter" => "COLOR-PATTERN"
  260. }, {
  261. "operation" => "add",
  262. "address" => [
  263. ("subsystem" => "logging"),
  264. ("logger" => "com.arjuna")
  265. ],
  266. "level" => "WARN"
  267. }, {
  268. "operation" => "add",
  269. "address" => [
  270. ("subsystem" => "logging"),
  271. ("logger" => "io.jaegertracing.Configuration")
  272. ],
  273. "level" => "WARN"
  274. }, {
  275. "operation" => "add",
  276. "address" => [
  277. ("subsystem" => "logging"),
  278. ("logger" => "org.jboss.as.config")
  279. ],
  280. "level" => "DEBUG"
  281. }, {
  282. "operation" => "add",
  283. "address" => [
  284. ("subsystem" => "logging"),
  285. ("logger" => "sun.rmi")
  286. ],
  287. "level" => "WARN"
  288. }, {
  289. "operation" => "add",
  290. "address" => [
  291. ("subsystem" => "logging"),
  292. ("logger" => "org.keycloak")
  293. ],
  294. "level" => expression "${env.KEYCLOAK_LOGLEVEL:INFO}"
  295. }, {
  296. "operation" => "add",
  297. "address" => [
  298. ("subsystem" => "logging"),
  299. ("root-logger" => "ROOT")
  300. ],
  301. "level" => expression "${env.ROOT_LOGLEVEL:INFO}",
  302. "handlers" => ["CONSOLE"]
  303. }, {
  304. "operation" => "add",
  305. "address" => [("subsystem" => "bean-validation")]
  306. }, {
  307. "operation" => "add",
  308. "address" => [("subsystem" => "core-management")]
  309. }, {
  310. "operation" => "add",
  311. "address" => [("subsystem" => "datasources")]
  312. }, {
  313. "operation" => "add",
  314. "jndi-name" => "java:jboss/datasources/ExampleDS",
  315. "enabled" => true,
  316. "use-java-context" => true,
  317. "statistics-enabled" => expression "${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}",
  318. "address" => [
  319. ("subsystem" => "datasources"),
  320. ("data-source" => "ExampleDS")
  321. ],
  322. "connection-url" => "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",
  323. "driver-name" => "h2",
  324. "user-name" => "sa",
  325. "password" => "sa"
  326. }, {
  327. "operation" => "add",
  328. "jndi-name" => "java:jboss/datasources/KeycloakDS",
  329. "enabled" => true,
  330. "use-java-context" => true,
  331. "statistics-enabled" => expression "${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}",
  332. "address" => [
  333. ("subsystem" => "datasources"),
  334. ("data-source" => "KeycloakDS")
  335. ],
  336. "connection-url" => expression "jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE",
  337. "driver-name" => "h2",
  338. "user-name" => "sa",
  339. "password" => "sa"
  340. }, {
  341. "operation" => "add",
  342. "driver-name" => "h2",
  343. "driver-major-version" => undefined,
  344. "driver-minor-version" => undefined,
  345. "driver-module-name" => "com.h2database.h2",
  346. "address" => [
  347. ("subsystem" => "datasources"),
  348. ("jdbc-driver" => "h2")
  349. ],
  350. "driver-xa-datasource-class-name" => "org.h2.jdbcx.JdbcDataSource"
  351. }, {
  352. "operation" => "add",
  353. "address" => [("subsystem" => "deployment-scanner")]
  354. }, {
  355. "operation" => "add",
  356. "path" => "deployments",
  357. "relative-to" => "jboss.server.base.dir",
  358. "scan-interval" => 5000,
  359. "runtime-failure-causes-rollback" => expression "${jboss.deployment.scanner.rollback.on.failure:false}",
  360. "address" => [
  361. ("subsystem" => "deployment-scanner"),
  362. ("scanner" => "default")
  363. ]
  364. }, {
  365. "operation" => "add",
  366. "address" => [("subsystem" => "ee")],
  367. "spec-descriptor-property-replacement" => false
  368. }, {
  369. "operation" => "add",
  370. "address" => [
  371. ("subsystem" => "ee"),
  372. ("context-service" => "default")
  373. ],
  374. "jndi-name" => "java:jboss/ee/concurrency/context/default",
  375. "use-transaction-setup-provider" => true
  376. }, {
  377. "operation" => "add",
  378. "address" => [
  379. ("subsystem" => "ee"),
  380. ("managed-thread-factory" => "default")
  381. ],
  382. "jndi-name" => "java:jboss/ee/concurrency/factory/default",
  383. "context-service" => "default"
  384. }, {
  385. "operation" => "add",
  386. "address" => [
  387. ("subsystem" => "ee"),
  388. ("managed-executor-service" => "default")
  389. ],
  390. "jndi-name" => "java:jboss/ee/concurrency/executor/default",
  391. "context-service" => "default",
  392. "hung-task-threshold" => 60000L,
  393. "keepalive-time" => 5000L
  394. }, {
  395. "operation" => "add",
  396. "address" => [
  397. ("subsystem" => "ee"),
  398. ("managed-scheduled-executor-service" => "default")
  399. ],
  400. "jndi-name" => "java:jboss/ee/concurrency/scheduler/default",
  401. "context-service" => "default",
  402. "hung-task-threshold" => 60000L,
  403. "keepalive-time" => 3000L
  404. }, {
  405. "operation" => "add",
  406. "address" => [
  407. ("subsystem" => "ee"),
  408. ("service" => "default-bindings")
  409. ],
  410. "context-service" => "java:jboss/ee/concurrency/context/default",
  411. "datasource" => "java:jboss/datasources/ExampleDS",
  412. "managed-executor-service" => "java:jboss/ee/concurrency/executor/default",
  413. "managed-scheduled-executor-service" => "java:jboss/ee/concurrency/scheduler/default",
  414. "managed-thread-factory" => "java:jboss/ee/concurrency/factory/default"
  415. }, {
  416. "operation" => "add",
  417. "address" => [("subsystem" => "ejb3")],
  418. "default-slsb-instance-pool" => "slsb-strict-max-pool",
  419. "default-stateful-bean-access-timeout" => 5000L,
  420. "default-sfsb-cache" => "simple",
  421. "default-sfsb-passivation-disabled-cache" => "simple",
  422. "default-singleton-bean-access-timeout" => 5000L,
  423. "default-security-domain" => "other",
  424. "default-missing-method-permissions-deny-access" => true,
  425. "statistics-enabled" => expression "${wildfly.ejb3.statistics-enabled:${wildfly.statistics-enabled:false}}",
  426. "log-system-exceptions" => true
  427. }, {
  428. "operation" => "add",
  429. "address" => [
  430. ("subsystem" => "ejb3"),
  431. ("strict-max-bean-instance-pool" => "mdb-strict-max-pool")
  432. ],
  433. "derive-size" => "from-cpu-count",
  434. "timeout" => 5L,
  435. "timeout-unit" => "MINUTES"
  436. }, {
  437. "operation" => "add",
  438. "address" => [
  439. ("subsystem" => "ejb3"),
  440. ("strict-max-bean-instance-pool" => "slsb-strict-max-pool")
  441. ],
  442. "derive-size" => "from-worker-pools",
  443. "timeout" => 5L,
  444. "timeout-unit" => "MINUTES"
  445. }, {
  446. "operation" => "add",
  447. "address" => [
  448. ("subsystem" => "ejb3"),
  449. ("cache" => "simple")
  450. ]
  451. }, {
  452. "operation" => "add",
  453. "address" => [
  454. ("subsystem" => "ejb3"),
  455. ("cache" => "distributable")
  456. ],
  457. "passivation-store" => "infinispan",
  458. "aliases" => [
  459. "passivating",
  460. "clustered"
  461. ]
  462. }, {
  463. "operation" => "add",
  464. "address" => [
  465. ("subsystem" => "ejb3"),
  466. ("passivation-store" => "infinispan")
  467. ],
  468. "cache-container" => "ejb",
  469. "max-size" => 10000
  470. }, {
  471. "operation" => "add",
  472. "address" => [
  473. ("subsystem" => "ejb3"),
  474. ("service" => "async")
  475. ],
  476. "thread-pool-name" => "default"
  477. }, {
  478. "operation" => "add",
  479. "address" => [
  480. ("subsystem" => "ejb3"),
  481. ("service" => "timer-service")
  482. ],
  483. "thread-pool-name" => "default",
  484. "default-data-store" => "default-file-store"
  485. }, {
  486. "operation" => "add",
  487. "address" => [
  488. ("subsystem" => "ejb3"),
  489. ("service" => "timer-service"),
  490. ("file-data-store" => "default-file-store")
  491. ],
  492. "path" => "timer-service-data",
  493. "relative-to" => "jboss.server.data.dir"
  494. }, {
  495. "operation" => "add",
  496. "address" => [
  497. ("subsystem" => "ejb3"),
  498. ("service" => "remote")
  499. ],
  500. "connector-ref" => "http-remoting-connector",
  501. "thread-pool-name" => "default"
  502. }, {
  503. "operation" => "add",
  504. "address" => [
  505. ("subsystem" => "ejb3"),
  506. ("service" => "remote"),
  507. ("channel-creation-options" => "MAX_OUTBOUND_MESSAGES")
  508. ],
  509. "value" => "1234",
  510. "type" => "remoting"
  511. }, {
  512. "operation" => "add",
  513. "address" => [
  514. ("subsystem" => "ejb3"),
  515. ("thread-pool" => "default")
  516. ],
  517. "max-threads" => 10,
  518. "keepalive-time" => {
  519. "time" => 60L,
  520. "unit" => "SECONDS"
  521. }
  522. }, {
  523. "operation" => "add",
  524. "address" => [("subsystem" => "elytron")],
  525. "final-providers" => "combined-providers",
  526. "disallowed-providers" => ["OracleUcrypto"]
  527. }, {
  528. "operation" => "add",
  529. "address" => [
  530. ("subsystem" => "elytron"),
  531. ("aggregate-providers" => "combined-providers")
  532. ],
  533. "providers" => [
  534. "elytron",
  535. "openssl"
  536. ]
  537. }, {
  538. "operation" => "add",
  539. "address" => [
  540. ("subsystem" => "elytron"),
  541. ("provider-loader" => "elytron")
  542. ],
  543. "module" => "org.wildfly.security.elytron"
  544. }, {
  545. "operation" => "add",
  546. "address" => [
  547. ("subsystem" => "elytron"),
  548. ("provider-loader" => "openssl")
  549. ],
  550. "module" => "org.wildfly.openssl"
  551. }, {
  552. "operation" => "add",
  553. "address" => [
  554. ("subsystem" => "elytron"),
  555. ("file-audit-log" => "local-audit")
  556. ],
  557. "path" => "audit.log",
  558. "relative-to" => "jboss.server.log.dir",
  559. "format" => "JSON"
  560. }, {
  561. "operation" => "add",
  562. "address" => [
  563. ("subsystem" => "elytron"),
  564. ("security-domain" => "ApplicationDomain")
  565. ],
  566. "default-realm" => "ApplicationRealm",
  567. "permission-mapper" => "default-permission-mapper",
  568. "realms" => [
  569. {
  570. "realm" => "ApplicationRealm",
  571. "role-decoder" => "groups-to-roles"
  572. },
  573. {"realm" => "local"}
  574. ]
  575. }, {
  576. "operation" => "add",
  577. "address" => [
  578. ("subsystem" => "elytron"),
  579. ("security-domain" => "ManagementDomain")
  580. ],
  581. "default-realm" => "ManagementRealm",
  582. "permission-mapper" => "default-permission-mapper",
  583. "realms" => [
  584. {
  585. "realm" => "ManagementRealm",
  586. "role-decoder" => "groups-to-roles"
  587. },
  588. {
  589. "realm" => "local",
  590. "role-mapper" => "super-user-mapper"
  591. }
  592. ]
  593. }, {
  594. "operation" => "add",
  595. "address" => [
  596. ("subsystem" => "elytron"),
  597. ("identity-realm" => "local")
  598. ],
  599. "identity" => "$local"
  600. }, {
  601. "operation" => "add",
  602. "address" => [
  603. ("subsystem" => "elytron"),
  604. ("properties-realm" => "ApplicationRealm")
  605. ],
  606. "users-properties" => {
  607. "path" => "application-users.properties",
  608. "relative-to" => "jboss.server.config.dir",
  609. "digest-realm-name" => "ApplicationRealm"
  610. },
  611. "groups-properties" => {
  612. "path" => "application-roles.properties",
  613. "relative-to" => "jboss.server.config.dir"
  614. }
  615. }, {
  616. "operation" => "add",
  617. "address" => [
  618. ("subsystem" => "elytron"),
  619. ("properties-realm" => "ManagementRealm")
  620. ],
  621. "users-properties" => {
  622. "path" => "mgmt-users.properties",
  623. "relative-to" => "jboss.server.config.dir",
  624. "digest-realm-name" => "ManagementRealm"
  625. },
  626. "groups-properties" => {
  627. "path" => "mgmt-groups.properties",
  628. "relative-to" => "jboss.server.config.dir"
  629. }
  630. }, {
  631. "operation" => "add",
  632. "address" => [
  633. ("subsystem" => "elytron"),
  634. ("simple-permission-mapper" => "default-permission-mapper")
  635. ],
  636. "mapping-mode" => "first",
  637. "permission-mappings" => [
  638. {
  639. "principals" => ["anonymous"],
  640. "permission-sets" => [{"permission-set" => "default-permissions"}]
  641. },
  642. {
  643. "match-all" => true,
  644. "permission-sets" => [
  645. {"permission-set" => "login-permission"},
  646. {"permission-set" => "default-permissions"}
  647. ]
  648. }
  649. ]
  650. }, {
  651. "operation" => "add",
  652. "address" => [
  653. ("subsystem" => "elytron"),
  654. ("constant-realm-mapper" => "local")
  655. ],
  656. "realm-name" => "local"
  657. }, {
  658. "operation" => "add",
  659. "address" => [
  660. ("subsystem" => "elytron"),
  661. ("simple-role-decoder" => "groups-to-roles")
  662. ],
  663. "attribute" => "groups"
  664. }, {
  665. "operation" => "add",
  666. "address" => [
  667. ("subsystem" => "elytron"),
  668. ("constant-role-mapper" => "super-user-mapper")
  669. ],
  670. "roles" => ["SuperUser"]
  671. }, {
  672. "operation" => "add",
  673. "address" => [
  674. ("subsystem" => "elytron"),
  675. ("permission-set" => "login-permission")
  676. ],
  677. "permissions" => [{"class-name" => "org.wildfly.security.auth.permission.LoginPermission"}]
  678. }, {
  679. "operation" => "add",
  680. "address" => [
  681. ("subsystem" => "elytron"),
  682. ("permission-set" => "default-permissions")
  683. ],
  684. "permissions" => [
  685. {
  686. "class-name" => "org.wildfly.extension.batch.jberet.deployment.BatchPermission",
  687. "module" => "org.wildfly.extension.batch.jberet",
  688. "target-name" => "*"
  689. },
  690. {
  691. "class-name" => "org.wildfly.transaction.client.RemoteTransactionPermission",
  692. "module" => "org.wildfly.transaction.client"
  693. },
  694. {
  695. "class-name" => "org.jboss.ejb.client.RemoteEJBPermission",
  696. "module" => "org.jboss.ejb-client"
  697. }
  698. ]
  699. }, {
  700. "operation" => "add",
  701. "address" => [
  702. ("subsystem" => "elytron"),
  703. ("http-authentication-factory" => "management-http-authentication")
  704. ],
  705. "security-domain" => "ManagementDomain",
  706. "http-server-mechanism-factory" => "global",
  707. "mechanism-configurations" => [{
  708. "mechanism-name" => "DIGEST",
  709. "mechanism-realm-configurations" => [{"realm-name" => "ManagementRealm"}]
  710. }]
  711. }, {
  712. "operation" => "add",
  713. "address" => [
  714. ("subsystem" => "elytron"),
  715. ("provider-http-server-mechanism-factory" => "global")
  716. ]
  717. }, {
  718. "operation" => "add",
  719. "address" => [
  720. ("subsystem" => "elytron"),
  721. ("sasl-authentication-factory" => "application-sasl-authentication")
  722. ],
  723. "sasl-server-factory" => "configured",
  724. "security-domain" => "ApplicationDomain",
  725. "mechanism-configurations" => [
  726. {
  727. "mechanism-name" => "JBOSS-LOCAL-USER",
  728. "realm-mapper" => "local"
  729. },
  730. {
  731. "mechanism-name" => "DIGEST-MD5",
  732. "mechanism-realm-configurations" => [{"realm-name" => "ApplicationRealm"}]
  733. }
  734. ]
  735. }, {
  736. "operation" => "add",
  737. "address" => [
  738. ("subsystem" => "elytron"),
  739. ("sasl-authentication-factory" => "management-sasl-authentication")
  740. ],
  741. "sasl-server-factory" => "configured",
  742. "security-domain" => "ManagementDomain",
  743. "mechanism-configurations" => [
  744. {
  745. "mechanism-name" => "JBOSS-LOCAL-USER",
  746. "realm-mapper" => "local"
  747. },
  748. {
  749. "mechanism-name" => "DIGEST-MD5",
  750. "mechanism-realm-configurations" => [{"realm-name" => "ManagementRealm"}]
  751. }
  752. ]
  753. }, {
  754. "operation" => "add",
  755. "address" => [
  756. ("subsystem" => "elytron"),
  757. ("configurable-sasl-server-factory" => "configured")
  758. ],
  759. "sasl-server-factory" => "elytron",
  760. "properties" => {"wildfly.sasl.local-user.default-user" => "$local"}
  761. }, {
  762. "operation" => "add",
  763. "address" => [
  764. ("subsystem" => "elytron"),
  765. ("mechanism-provider-filtering-sasl-server-factory" => "elytron")
  766. ],
  767. "sasl-server-factory" => "global",
  768. "filters" => [{"provider-name" => "WildFlyElytron"}]
  769. }, {
  770. "operation" => "add",
  771. "address" => [
  772. ("subsystem" => "elytron"),
  773. ("provider-sasl-server-factory" => "global")
  774. ]
  775. }, {
  776. "operation" => "add",
  777. "address" => [("subsystem" => "infinispan")]
  778. }, {
  779. "operation" => "add",
  780. "address" => [
  781. ("subsystem" => "infinispan"),
  782. ("cache-container" => "keycloak")
  783. ]
  784. }, {
  785. "operation" => "add",
  786. "address" => [
  787. ("subsystem" => "infinispan"),
  788. ("cache-container" => "keycloak"),
  789. ("local-cache" => "realms")
  790. ]
  791. }, {
  792. "operation" => "add",
  793. "address" => [
  794. ("subsystem" => "infinispan"),
  795. ("cache-container" => "keycloak"),
  796. ("local-cache" => "realms"),
  797. ("memory" => "object")
  798. ],
  799. "size" => 10000L
  800. }, {
  801. "operation" => "add",
  802. "address" => [
  803. ("subsystem" => "infinispan"),
  804. ("cache-container" => "keycloak"),
  805. ("local-cache" => "users")
  806. ]
  807. }, {
  808. "operation" => "add",
  809. "address" => [
  810. ("subsystem" => "infinispan"),
  811. ("cache-container" => "keycloak"),
  812. ("local-cache" => "users"),
  813. ("memory" => "object")
  814. ],
  815. "size" => 10000L
  816. }, {
  817. "operation" => "add",
  818. "address" => [
  819. ("subsystem" => "infinispan"),
  820. ("cache-container" => "keycloak"),
  821. ("local-cache" => "sessions")
  822. ]
  823. }, {
  824. "operation" => "add",
  825. "address" => [
  826. ("subsystem" => "infinispan"),
  827. ("cache-container" => "keycloak"),
  828. ("local-cache" => "authenticationSessions")
  829. ]
  830. }, {
  831. "operation" => "add",
  832. "address" => [
  833. ("subsystem" => "infinispan"),
  834. ("cache-container" => "keycloak"),
  835. ("local-cache" => "offlineSessions")
  836. ]
  837. }, {
  838. "operation" => "add",
  839. "address" => [
  840. ("subsystem" => "infinispan"),
  841. ("cache-container" => "keycloak"),
  842. ("local-cache" => "clientSessions")
  843. ]
  844. }, {
  845. "operation" => "add",
  846. "address" => [
  847. ("subsystem" => "infinispan"),
  848. ("cache-container" => "keycloak"),
  849. ("local-cache" => "offlineClientSessions")
  850. ]
  851. }, {
  852. "operation" => "add",
  853. "address" => [
  854. ("subsystem" => "infinispan"),
  855. ("cache-container" => "keycloak"),
  856. ("local-cache" => "loginFailures")
  857. ]
  858. }, {
  859. "operation" => "add",
  860. "address" => [
  861. ("subsystem" => "infinispan"),
  862. ("cache-container" => "keycloak"),
  863. ("local-cache" => "work")
  864. ]
  865. }, {
  866. "operation" => "add",
  867. "address" => [
  868. ("subsystem" => "infinispan"),
  869. ("cache-container" => "keycloak"),
  870. ("local-cache" => "authorization")
  871. ]
  872. }, {
  873. "operation" => "add",
  874. "address" => [
  875. ("subsystem" => "infinispan"),
  876. ("cache-container" => "keycloak"),
  877. ("local-cache" => "authorization"),
  878. ("memory" => "object")
  879. ],
  880. "size" => 10000L
  881. }, {
  882. "operation" => "add",
  883. "address" => [
  884. ("subsystem" => "infinispan"),
  885. ("cache-container" => "keycloak"),
  886. ("local-cache" => "keys")
  887. ]
  888. }, {
  889. "operation" => "add",
  890. "address" => [
  891. ("subsystem" => "infinispan"),
  892. ("cache-container" => "keycloak"),
  893. ("local-cache" => "keys"),
  894. ("memory" => "object")
  895. ],
  896. "size" => 1000L
  897. }, {
  898. "operation" => "add",
  899. "address" => [
  900. ("subsystem" => "infinispan"),
  901. ("cache-container" => "keycloak"),
  902. ("local-cache" => "keys"),
  903. ("component" => "expiration")
  904. ],
  905. "max-idle" => 3600000L
  906. }, {
  907. "operation" => "add",
  908. "address" => [
  909. ("subsystem" => "infinispan"),
  910. ("cache-container" => "keycloak"),
  911. ("local-cache" => "actionTokens")
  912. ]
  913. }, {
  914. "operation" => "add",
  915. "address" => [
  916. ("subsystem" => "infinispan"),
  917. ("cache-container" => "keycloak"),
  918. ("local-cache" => "actionTokens"),
  919. ("memory" => "object")
  920. ],
  921. "size" => -1L
  922. }, {
  923. "operation" => "add",
  924. "address" => [
  925. ("subsystem" => "infinispan"),
  926. ("cache-container" => "keycloak"),
  927. ("local-cache" => "actionTokens"),
  928. ("component" => "expiration")
  929. ],
  930. "interval" => 300000L,
  931. "max-idle" => -1L
  932. }, {
  933. "operation" => "add",
  934. "address" => [
  935. ("subsystem" => "infinispan"),
  936. ("cache-container" => "server")
  937. ],
  938. "default-cache" => "default",
  939. "module" => "org.wildfly.clustering.server"
  940. }, {
  941. "operation" => "add",
  942. "address" => [
  943. ("subsystem" => "infinispan"),
  944. ("cache-container" => "server"),
  945. ("local-cache" => "default")
  946. ]
  947. }, {
  948. "operation" => "add",
  949. "address" => [
  950. ("subsystem" => "infinispan"),
  951. ("cache-container" => "server"),
  952. ("local-cache" => "default"),
  953. ("component" => "transaction")
  954. ],
  955. "mode" => "BATCH"
  956. }, {
  957. "operation" => "add",
  958. "address" => [
  959. ("subsystem" => "infinispan"),
  960. ("cache-container" => "web")
  961. ],
  962. "default-cache" => "passivation",
  963. "module" => "org.wildfly.clustering.web.infinispan"
  964. }, {
  965. "operation" => "add",
  966. "address" => [
  967. ("subsystem" => "infinispan"),
  968. ("cache-container" => "web"),
  969. ("local-cache" => "passivation")
  970. ]
  971. }, {
  972. "operation" => "add",
  973. "address" => [
  974. ("subsystem" => "infinispan"),
  975. ("cache-container" => "web"),
  976. ("local-cache" => "passivation"),
  977. ("component" => "locking")
  978. ],
  979. "isolation" => "REPEATABLE_READ"
  980. }, {
  981. "operation" => "add",
  982. "address" => [
  983. ("subsystem" => "infinispan"),
  984. ("cache-container" => "web"),
  985. ("local-cache" => "passivation"),
  986. ("component" => "transaction")
  987. ],
  988. "mode" => "BATCH"
  989. }, {
  990. "operation" => "add",
  991. "address" => [
  992. ("subsystem" => "infinispan"),
  993. ("cache-container" => "web"),
  994. ("local-cache" => "passivation"),
  995. ("store" => "file")
  996. ],
  997. "passivation" => true,
  998. "purge" => false
  999. }, {
  1000. "operation" => "add",
  1001. "address" => [
  1002. ("subsystem" => "infinispan"),
  1003. ("cache-container" => "web"),
  1004. ("local-cache" => "sso")
  1005. ]
  1006. }, {
  1007. "operation" => "add",
  1008. "address" => [
  1009. ("subsystem" => "infinispan"),
  1010. ("cache-container" => "web"),
  1011. ("local-cache" => "sso"),
  1012. ("component" => "locking")
  1013. ],
  1014. "isolation" => "REPEATABLE_READ"
  1015. }, {
  1016. "operation" => "add",
  1017. "address" => [
  1018. ("subsystem" => "infinispan"),
  1019. ("cache-container" => "web"),
  1020. ("local-cache" => "sso"),
  1021. ("component" => "transaction")
  1022. ],
  1023. "mode" => "BATCH"
  1024. }, {
  1025. "operation" => "add",
  1026. "address" => [
  1027. ("subsystem" => "infinispan"),
  1028. ("cache-container" => "web"),
  1029. ("local-cache" => "routing")
  1030. ]
  1031. }, {
  1032. "operation" => "add",
  1033. "address" => [
  1034. ("subsystem" => "infinispan"),
  1035. ("cache-container" => "ejb")
  1036. ],
  1037. "aliases" => ["sfsb"],
  1038. "default-cache" => "passivation",
  1039. "module" => "org.wildfly.clustering.ejb.infinispan"
  1040. }, {
  1041. "operation" => "add",
  1042. "address" => [
  1043. ("subsystem" => "infinispan"),
  1044. ("cache-container" => "ejb"),
  1045. ("local-cache" => "passivation")
  1046. ]
  1047. }, {
  1048. "operation" => "add",
  1049. "address" => [
  1050. ("subsystem" => "infinispan"),
  1051. ("cache-container" => "ejb"),
  1052. ("local-cache" => "passivation"),
  1053. ("component" => "locking")
  1054. ],
  1055. "isolation" => "REPEATABLE_READ"
  1056. }, {
  1057. "operation" => "add",
  1058. "address" => [
  1059. ("subsystem" => "infinispan"),
  1060. ("cache-container" => "ejb"),
  1061. ("local-cache" => "passivation"),
  1062. ("component" => "transaction")
  1063. ],
  1064. "mode" => "BATCH"
  1065. }, {
  1066. "operation" => "add",
  1067. "address" => [
  1068. ("subsystem" => "infinispan"),
  1069. ("cache-container" => "ejb"),
  1070. ("local-cache" => "passivation"),
  1071. ("store" => "file")
  1072. ],
  1073. "passivation" => true,
  1074. "purge" => false
  1075. }, {
  1076. "operation" => "add",
  1077. "address" => [
  1078. ("subsystem" => "infinispan"),
  1079. ("cache-container" => "hibernate")
  1080. ],
  1081. "module" => "org.infinispan.hibernate-cache"
  1082. }, {
  1083. "operation" => "add",
  1084. "address" => [
  1085. ("subsystem" => "infinispan"),
  1086. ("cache-container" => "hibernate"),
  1087. ("local-cache" => "entity")
  1088. ]
  1089. }, {
  1090. "operation" => "add",
  1091. "address" => [
  1092. ("subsystem" => "infinispan"),
  1093. ("cache-container" => "hibernate"),
  1094. ("local-cache" => "entity"),
  1095. ("memory" => "object")
  1096. ],
  1097. "size" => 10000L
  1098. }, {
  1099. "operation" => "add",
  1100. "address" => [
  1101. ("subsystem" => "infinispan"),
  1102. ("cache-container" => "hibernate"),
  1103. ("local-cache" => "entity"),
  1104. ("component" => "expiration")
  1105. ],
  1106. "max-idle" => 100000L
  1107. }, {
  1108. "operation" => "add",
  1109. "address" => [
  1110. ("subsystem" => "infinispan"),
  1111. ("cache-container" => "hibernate"),
  1112. ("local-cache" => "local-query")
  1113. ]
  1114. }, {
  1115. "operation" => "add",
  1116. "address" => [
  1117. ("subsystem" => "infinispan"),
  1118. ("cache-container" => "hibernate"),
  1119. ("local-cache" => "local-query"),
  1120. ("memory" => "object")
  1121. ],
  1122. "size" => 10000L
  1123. }, {
  1124. "operation" => "add",
  1125. "address" => [
  1126. ("subsystem" => "infinispan"),
  1127. ("cache-container" => "hibernate"),
  1128. ("local-cache" => "local-query"),
  1129. ("component" => "expiration")
  1130. ],
  1131. "max-idle" => 100000L
  1132. }, {
  1133. "operation" => "add",
  1134. "address" => [
  1135. ("subsystem" => "infinispan"),
  1136. ("cache-container" => "hibernate"),
  1137. ("local-cache" => "timestamps")
  1138. ]
  1139. }, {
  1140. "operation" => "add",
  1141. "address" => [("subsystem" => "io")]
  1142. }, {
  1143. "operation" => "add",
  1144. "address" => [
  1145. ("subsystem" => "io"),
  1146. ("worker" => "default")
  1147. ]
  1148. }, {
  1149. "operation" => "add",
  1150. "address" => [
  1151. ("subsystem" => "io"),
  1152. ("buffer-pool" => "default")
  1153. ]
  1154. }, {
  1155. "operation" => "add",
  1156. "address" => [("subsystem" => "jaxrs")]
  1157. }, {
  1158. "operation" => "add",
  1159. "address" => [("subsystem" => "jca")]
  1160. }, {
  1161. "operation" => "add",
  1162. "address" => [
  1163. ("subsystem" => "jca"),
  1164. ("archive-validation" => "archive-validation")
  1165. ],
  1166. "enabled" => true,
  1167. "fail-on-error" => true,
  1168. "fail-on-warn" => false
  1169. }, {
  1170. "operation" => "add",
  1171. "address" => [
  1172. ("subsystem" => "jca"),
  1173. ("bean-validation" => "bean-validation")
  1174. ],
  1175. "enabled" => true
  1176. }, {
  1177. "operation" => "add",
  1178. "name" => "default",
  1179. "address" => [
  1180. ("subsystem" => "jca"),
  1181. ("workmanager" => "default")
  1182. ]
  1183. }, {
  1184. "operation" => "add",
  1185. "address" => [
  1186. ("subsystem" => "jca"),
  1187. ("workmanager" => "default"),
  1188. ("short-running-threads" => "default")
  1189. ],
  1190. "core-threads" => 50,
  1191. "queue-length" => 50,
  1192. "max-threads" => 50,
  1193. "keepalive-time" => {
  1194. "time" => 10L,
  1195. "unit" => "SECONDS"
  1196. }
  1197. }, {
  1198. "operation" => "add",
  1199. "address" => [
  1200. ("subsystem" => "jca"),
  1201. ("workmanager" => "default"),
  1202. ("long-running-threads" => "default")
  1203. ],
  1204. "core-threads" => 50,
  1205. "queue-length" => 50,
  1206. "max-threads" => 50,
  1207. "keepalive-time" => {
  1208. "time" => 10L,
  1209. "unit" => "SECONDS"
  1210. }
  1211. }, {
  1212. "operation" => "add",
  1213. "address" => [
  1214. ("subsystem" => "jca"),
  1215. ("bootstrap-context" => "default")
  1216. ],
  1217. "workmanager" => "default",
  1218. "name" => "default"
  1219. }, {
  1220. "operation" => "add",
  1221. "address" => [
  1222. ("subsystem" => "jca"),
  1223. ("cached-connection-manager" => "cached-connection-manager")
  1224. ],
  1225. "install" => true
  1226. }, {
  1227. "operation" => "add",
  1228. "address" => [("subsystem" => "jmx")]
  1229. }, {
  1230. "operation" => "add",
  1231. "address" => [
  1232. ("subsystem" => "jmx"),
  1233. ("expose-model" => "resolved")
  1234. ]
  1235. }, {
  1236. "operation" => "add",
  1237. "address" => [
  1238. ("subsystem" => "jmx"),
  1239. ("expose-model" => "expression")
  1240. ]
  1241. }, {
  1242. "operation" => "add",
  1243. "address" => [
  1244. ("subsystem" => "jmx"),
  1245. ("remoting-connector" => "jmx")
  1246. ]
  1247. }, {
  1248. "operation" => "add",
  1249. "address" => [("subsystem" => "jpa")],
  1250. "default-datasource" => "",
  1251. "default-extended-persistence-inheritance" => "DEEP"
  1252. }, {
  1253. "operation" => "add",
  1254. "address" => [("subsystem" => "keycloak-server")],
  1255. "web-context" => "auth",
  1256. "providers" => [expression "classpath:${jboss.home.dir}/providers/*"],
  1257. "master-realm-name" => "master",
  1258. "scheduled-task-interval" => 900L
  1259. }, {
  1260. "operation" => "add",
  1261. "address" => [
  1262. ("subsystem" => "keycloak-server"),
  1263. ("theme" => "defaults")
  1264. ],
  1265. "staticMaxAge" => 2592000L,
  1266. "cacheThemes" => true,
  1267. "cacheTemplates" => true,
  1268. "welcomeTheme" => expression "${env.KEYCLOAK_WELCOME_THEME:keycloak}",
  1269. "default" => expression "${env.KEYCLOAK_DEFAULT_THEME:keycloak}",
  1270. "dir" => expression "${jboss.home.dir}/themes"
  1271. }, {
  1272. "operation" => "add",
  1273. "address" => [
  1274. ("subsystem" => "keycloak-server"),
  1275. ("spi" => "eventsStore")
  1276. ]
  1277. }, {
  1278. "operation" => "add",
  1279. "address" => [
  1280. ("subsystem" => "keycloak-server"),
  1281. ("spi" => "eventsStore"),
  1282. ("provider" => "jpa")
  1283. ],
  1284. "enabled" => true,
  1285. "properties" => {"exclude-events" => "[\"REFRESH_TOKEN\"]"}
  1286. }, {
  1287. "operation" => "add",
  1288. "address" => [
  1289. ("subsystem" => "keycloak-server"),
  1290. ("spi" => "userCache")
  1291. ]
  1292. }, {
  1293. "operation" => "add",
  1294. "address" => [
  1295. ("subsystem" => "keycloak-server"),
  1296. ("spi" => "userCache"),
  1297. ("provider" => "default")
  1298. ],
  1299. "enabled" => true
  1300. }, {
  1301. "operation" => "add",
  1302. "address" => [
  1303. ("subsystem" => "keycloak-server"),
  1304. ("spi" => "userSessionPersister")
  1305. ],
  1306. "default-provider" => "jpa"
  1307. }, {
  1308. "operation" => "add",
  1309. "address" => [
  1310. ("subsystem" => "keycloak-server"),
  1311. ("spi" => "timer")
  1312. ],
  1313. "default-provider" => "basic"
  1314. }, {
  1315. "operation" => "add",
  1316. "address" => [
  1317. ("subsystem" => "keycloak-server"),
  1318. ("spi" => "connectionsHttpClient")
  1319. ]
  1320. }, {
  1321. "operation" => "add",
  1322. "address" => [
  1323. ("subsystem" => "keycloak-server"),
  1324. ("spi" => "connectionsHttpClient"),
  1325. ("provider" => "default")
  1326. ],
  1327. "enabled" => true
  1328. }, {
  1329. "operation" => "add",
  1330. "address" => [
  1331. ("subsystem" => "keycloak-server"),
  1332. ("spi" => "connectionsJpa")
  1333. ]
  1334. }, {
  1335. "operation" => "add",
  1336. "address" => [
  1337. ("subsystem" => "keycloak-server"),
  1338. ("spi" => "connectionsJpa"),
  1339. ("provider" => "default")
  1340. ],
  1341. "enabled" => true,
  1342. "properties" => {
  1343. "dataSource" => "java:jboss/datasources/KeycloakDS",
  1344. "initializeEmpty" => "true",
  1345. "migrationStrategy" => "update",
  1346. "migrationExport" => expression "${jboss.home.dir}/keycloak-database-update.sql"
  1347. }
  1348. }, {
  1349. "operation" => "add",
  1350. "address" => [
  1351. ("subsystem" => "keycloak-server"),
  1352. ("spi" => "realmCache")
  1353. ]
  1354. }, {
  1355. "operation" => "add",
  1356. "address" => [
  1357. ("subsystem" => "keycloak-server"),
  1358. ("spi" => "realmCache"),
  1359. ("provider" => "default")
  1360. ],
  1361. "enabled" => true
  1362. }, {
  1363. "operation" => "add",
  1364. "address" => [
  1365. ("subsystem" => "keycloak-server"),
  1366. ("spi" => "connectionsInfinispan")
  1367. ],
  1368. "default-provider" => "default"
  1369. }, {
  1370. "operation" => "add",
  1371. "address" => [
  1372. ("subsystem" => "keycloak-server"),
  1373. ("spi" => "connectionsInfinispan"),
  1374. ("provider" => "default")
  1375. ],
  1376. "enabled" => true,
  1377. "properties" => {"cacheContainer" => "java:jboss/infinispan/container/keycloak"}
  1378. }, {
  1379. "operation" => "add",
  1380. "address" => [
  1381. ("subsystem" => "keycloak-server"),
  1382. ("spi" => "jta-lookup")
  1383. ],
  1384. "default-provider" => expression "${keycloak.jta.lookup.provider:jboss}"
  1385. }, {
  1386. "operation" => "add",
  1387. "address" => [
  1388. ("subsystem" => "keycloak-server"),
  1389. ("spi" => "jta-lookup"),
  1390. ("provider" => "jboss")
  1391. ],
  1392. "enabled" => true
  1393. }, {
  1394. "operation" => "add",
  1395. "address" => [
  1396. ("subsystem" => "keycloak-server"),
  1397. ("spi" => "publicKeyStorage")
  1398. ]
  1399. }, {
  1400. "operation" => "add",
  1401. "address" => [
  1402. ("subsystem" => "keycloak-server"),
  1403. ("spi" => "publicKeyStorage"),
  1404. ("provider" => "infinispan")
  1405. ],
  1406. "enabled" => true,
  1407. "properties" => {"minTimeBetweenRequests" => "10"}
  1408. }, {
  1409. "operation" => "add",
  1410. "address" => [
  1411. ("subsystem" => "keycloak-server"),
  1412. ("spi" => "x509cert-lookup")
  1413. ],
  1414. "default-provider" => expression "${keycloak.x509cert.lookup.provider:default}"
  1415. }, {
  1416. "operation" => "add",
  1417. "address" => [
  1418. ("subsystem" => "keycloak-server"),
  1419. ("spi" => "x509cert-lookup"),
  1420. ("provider" => "default")
  1421. ],
  1422. "enabled" => true
  1423. }, {
  1424. "operation" => "add",
  1425. "address" => [
  1426. ("subsystem" => "keycloak-server"),
  1427. ("spi" => "hostname")
  1428. ],
  1429. "default-provider" => expression "${keycloak.hostname.provider:default}"
  1430. }, {
  1431. "operation" => "add",
  1432. "address" => [
  1433. ("subsystem" => "keycloak-server"),
  1434. ("spi" => "hostname"),
  1435. ("provider" => "default")
  1436. ],
  1437. "enabled" => true,
  1438. "properties" => {
  1439. "frontendUrl" => expression "${keycloak.frontendUrl:}",
  1440. "forceBackendUrlToFrontendUrl" => "false"
  1441. }
  1442. }, {
  1443. "operation" => "add",
  1444. "address" => [
  1445. ("subsystem" => "keycloak-server"),
  1446. ("spi" => "hostname"),
  1447. ("provider" => "fixed")
  1448. ],
  1449. "enabled" => true,
  1450. "properties" => {
  1451. "hostname" => expression "${keycloak.hostname.fixed.hostname:localhost}",
  1452. "httpPort" => expression "${keycloak.hostname.fixed.httpPort:-1}",
  1453. "httpsPort" => expression "${keycloak.hostname.fixed.httpsPort:-1}",
  1454. "alwaysHttps" => expression "${keycloak.hostname.fixed.alwaysHttps:false}"
  1455. }
  1456. }, {
  1457. "operation" => "add",
  1458. "address" => [("subsystem" => "mail")]
  1459. }, {
  1460. "operation" => "add",
  1461. "address" => [
  1462. ("subsystem" => "mail"),
  1463. ("mail-session" => "default")
  1464. ],
  1465. "jndi-name" => "java:jboss/mail/Default"
  1466. }, {
  1467. "operation" => "add",
  1468. "address" => [
  1469. ("subsystem" => "mail"),
  1470. ("mail-session" => "default"),
  1471. ("server" => "smtp")
  1472. ],
  1473. "outbound-socket-binding-ref" => "mail-smtp"
  1474. }, {
  1475. "operation" => "add",
  1476. "address" => [("subsystem" => "microprofile-config-smallrye")]
  1477. }, {
  1478. "operation" => "add",
  1479. "address" => [("subsystem" => "microprofile-health-smallrye")],
  1480. "security-enabled" => false,
  1481. "empty-liveness-checks-status" => expression "${env.MP_HEALTH_EMPTY_LIVENESS_CHECKS_STATUS:UP}",
  1482. "empty-readiness-checks-status" => expression "${env.MP_HEALTH_EMPTY_READINESS_CHECKS_STATUS:UP}"
  1483. }, {
  1484. "operation" => "add",
  1485. "address" => [("subsystem" => "microprofile-metrics-smallrye")],
  1486. "security-enabled" => false,
  1487. "exposed-subsystems" => ["*"],
  1488. "prefix" => expression "${wildfly.metrics.prefix:wildfly}"
  1489. }, {
  1490. "operation" => "add",
  1491. "address" => [("subsystem" => "naming")]
  1492. }, {
  1493. "operation" => "add",
  1494. "address" => [
  1495. ("subsystem" => "naming"),
  1496. ("service" => "remote-naming")
  1497. ]
  1498. }, {
  1499. "operation" => "add",
  1500. "address" => [("subsystem" => "remoting")]
  1501. }, {
  1502. "operation" => "add",
  1503. "address" => [
  1504. ("subsystem" => "remoting"),
  1505. ("http-connector" => "http-remoting-connector")
  1506. ],
  1507. "connector-ref" => "default",
  1508. "security-realm" => "ApplicationRealm"
  1509. }, {
  1510. "operation" => "add",
  1511. "address" => [("subsystem" => "request-controller")]
  1512. }, {
  1513. "operation" => "add",
  1514. "address" => [("subsystem" => "security")]
  1515. }, {
  1516. "operation" => "add",
  1517. "address" => [
  1518. ("subsystem" => "security"),
  1519. ("security-domain" => "other")
  1520. ],
  1521. "cache-type" => "default"
  1522. }, {
  1523. "operation" => "add",
  1524. "address" => [
  1525. ("subsystem" => "security"),
  1526. ("security-domain" => "other"),
  1527. ("authentication" => "classic")
  1528. ]
  1529. }, {
  1530. "operation" => "add",
  1531. "address" => [
  1532. ("subsystem" => "security"),
  1533. ("security-domain" => "other"),
  1534. ("authentication" => "classic"),
  1535. ("login-module" => "Remoting")
  1536. ],
  1537. "code" => "Remoting",
  1538. "flag" => "optional",
  1539. "module-options" => {"password-stacking" => "useFirstPass"}
  1540. }, {
  1541. "operation" => "add",
  1542. "address" => [
  1543. ("subsystem" => "security"),
  1544. ("security-domain" => "other"),
  1545. ("authentication" => "classic"),
  1546. ("login-module" => "RealmDirect")
  1547. ],
  1548. "code" => "RealmDirect",
  1549. "flag" => "required",
  1550. "module-options" => {"password-stacking" => "useFirstPass"}
  1551. }, {
  1552. "operation" => "add",
  1553. "address" => [
  1554. ("subsystem" => "security"),
  1555. ("security-domain" => "jboss-web-policy")
  1556. ],
  1557. "cache-type" => "default"
  1558. }, {
  1559. "operation" => "add",
  1560. "address" => [
  1561. ("subsystem" => "security"),
  1562. ("security-domain" => "jboss-web-policy"),
  1563. ("authorization" => "classic")
  1564. ]
  1565. }, {
  1566. "operation" => "add",
  1567. "address" => [
  1568. ("subsystem" => "security"),
  1569. ("security-domain" => "jboss-web-policy"),
  1570. ("authorization" => "classic"),
  1571. ("policy-module" => "Delegating")
  1572. ],
  1573. "code" => "Delegating",
  1574. "flag" => "required"
  1575. }, {
  1576. "operation" => "add",
  1577. "address" => [
  1578. ("subsystem" => "security"),
  1579. ("security-domain" => "jaspitest")
  1580. ],
  1581. "cache-type" => "default"
  1582. }, {
  1583. "operation" => "add",
  1584. "address" => [
  1585. ("subsystem" => "security"),
  1586. ("security-domain" => "jaspitest"),
  1587. ("authentication" => "jaspi")
  1588. ]
  1589. }, {
  1590. "operation" => "add",
  1591. "address" => [
  1592. ("subsystem" => "security"),
  1593. ("security-domain" => "jaspitest"),
  1594. ("authentication" => "jaspi"),
  1595. ("login-module-stack" => "dummy")
  1596. ]
  1597. }, {
  1598. "operation" => "add",
  1599. "address" => [
  1600. ("subsystem" => "security"),
  1601. ("security-domain" => "jaspitest"),
  1602. ("authentication" => "jaspi"),
  1603. ("login-module-stack" => "dummy"),
  1604. ("login-module" => "Dummy")
  1605. ],
  1606. "code" => "Dummy",
  1607. "flag" => "optional"
  1608. }, {
  1609. "operation" => "add",
  1610. "address" => [
  1611. ("subsystem" => "security"),
  1612. ("security-domain" => "jaspitest"),
  1613. ("authentication" => "jaspi"),
  1614. ("auth-module" => "Dummy")
  1615. ],
  1616. "code" => "Dummy"
  1617. }, {
  1618. "operation" => "add",
  1619. "address" => [
  1620. ("subsystem" => "security"),
  1621. ("security-domain" => "jboss-ejb-policy")
  1622. ],
  1623. "cache-type" => "default"
  1624. }, {
  1625. "operation" => "add",
  1626. "address" => [
  1627. ("subsystem" => "security"),
  1628. ("security-domain" => "jboss-ejb-policy"),
  1629. ("authorization" => "classic")
  1630. ]
  1631. }, {
  1632. "operation" => "add",
  1633. "address" => [
  1634. ("subsystem" => "security"),
  1635. ("security-domain" => "jboss-ejb-policy"),
  1636. ("authorization" => "classic"),
  1637. ("policy-module" => "Delegating")
  1638. ],
  1639. "code" => "Delegating",
  1640. "flag" => "required"
  1641. }, {
  1642. "operation" => "add",
  1643. "address" => [("subsystem" => "security-manager")]
  1644. }, {
  1645. "operation" => "add",
  1646. "address" => [
  1647. ("subsystem" => "security-manager"),
  1648. ("deployment-permissions" => "default")
  1649. ],
  1650. "maximum-permissions" => [{"class" => "java.security.AllPermission"}]
  1651. }, {
  1652. "operation" => "add",
  1653. "address" => [("subsystem" => "transactions")],
  1654. "node-identifier" => expression "${jboss.tx.node.id:1}",
  1655. "process-id-uuid" => true,
  1656. "socket-binding" => "txn-recovery-environment",
  1657. "status-socket-binding" => "txn-status-manager",
  1658. "statistics-enabled" => expression "${wildfly.transactions.statistics-enabled:${wildfly.statistics-enabled:false}}",
  1659. "object-store-path" => "tx-object-store",
  1660. "object-store-relative-to" => "jboss.server.data.dir"
  1661. }, {
  1662. "operation" => "add",
  1663. "address" => [
  1664. ("subsystem" => "transactions"),
  1665. ("log-store" => "log-store")
  1666. ]
  1667. }, {
  1668. "operation" => "add",
  1669. "address" => [("subsystem" => "undertow")],
  1670. "default-server" => "default-server",
  1671. "default-virtual-host" => "default-host",
  1672. "default-servlet-container" => "default",
  1673. "default-security-domain" => "other",
  1674. "statistics-enabled" => expression "${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}"
  1675. }, {
  1676. "operation" => "add",
  1677. "address" => [
  1678. ("subsystem" => "undertow"),
  1679. ("configuration" => "filter")
  1680. ]
  1681. }, {
  1682. "operation" => "add",
  1683. "address" => [
  1684. ("subsystem" => "undertow"),
  1685. ("configuration" => "handler")
  1686. ]
  1687. }, {
  1688. "operation" => "add",
  1689. "address" => [
  1690. ("subsystem" => "undertow"),
  1691. ("buffer-cache" => "default")
  1692. ]
  1693. }, {
  1694. "operation" => "add",
  1695. "address" => [
  1696. ("subsystem" => "undertow"),
  1697. ("server" => "default-server")
  1698. ]
  1699. }, {
  1700. "operation" => "add",
  1701. "address" => [
  1702. ("subsystem" => "undertow"),
  1703. ("server" => "default-server"),
  1704. ("http-listener" => "default")
  1705. ],
  1706. "socket-binding" => "http",
  1707. "redirect-socket" => "https",
  1708. "proxy-address-forwarding" => expression "${env.PROXY_ADDRESS_FORWARDING:false}",
  1709. "enable-http2" => true
  1710. }, {
  1711. "operation" => "add",
  1712. "address" => [
  1713. ("subsystem" => "undertow"),
  1714. ("server" => "default-server"),
  1715. ("https-listener" => "https")
  1716. ],
  1717. "socket-binding" => "https",
  1718. "proxy-address-forwarding" => expression "${env.PROXY_ADDRESS_FORWARDING:false}",
  1719. "security-realm" => "ApplicationRealm",
  1720. "enable-http2" => true
  1721. }, {
  1722. "operation" => "add",
  1723. "address" => [
  1724. ("subsystem" => "undertow"),
  1725. ("server" => "default-server"),
  1726. ("host" => "default-host")
  1727. ],
  1728. "alias" => ["localhost"]
  1729. }, {
  1730. "operation" => "add",
  1731. "address" => [
  1732. ("subsystem" => "undertow"),
  1733. ("server" => "default-server"),
  1734. ("host" => "default-host"),
  1735. ("location" => "/")
  1736. ],
  1737. "handler" => "welcome-content"
  1738. }, {
  1739. "operation" => "add",
  1740. "address" => [
  1741. ("subsystem" => "undertow"),
  1742. ("server" => "default-server"),
  1743. ("host" => "default-host"),
  1744. ("setting" => "http-invoker")
  1745. ],
  1746. "security-realm" => "ApplicationRealm"
  1747. }, {
  1748. "operation" => "add",
  1749. "address" => [
  1750. ("subsystem" => "undertow"),
  1751. ("servlet-container" => "default")
  1752. ]
  1753. }, {
  1754. "operation" => "add",
  1755. "address" => [
  1756. ("subsystem" => "undertow"),
  1757. ("servlet-container" => "default"),
  1758. ("setting" => "jsp")
  1759. ]
  1760. }, {
  1761. "operation" => "add",
  1762. "address" => [
  1763. ("subsystem" => "undertow"),
  1764. ("servlet-container" => "default"),
  1765. ("setting" => "websockets")
  1766. ]
  1767. }, {
  1768. "operation" => "add",
  1769. "address" => [
  1770. ("subsystem" => "undertow"),
  1771. ("configuration" => "handler"),
  1772. ("file" => "welcome-content")
  1773. ],
  1774. "path" => expression "${jboss.home.dir}/welcome-content"
  1775. }, {
  1776. "operation" => "add",
  1777. "address" => [("subsystem" => "weld")]
  1778. }, {
  1779. "operation" => "boottime-controller-initializer-step",
  1780. "address" => []
  1781. }, {
  1782. "operation" => "add-deployer-chains",
  1783. "address" => []
  1784. }]: java.util.concurrent.RejectedExecutionException
  1785. at org.jboss.threads@2.3.3.Final//org.jboss.threads.RejectingExecutor.execute(RejectingExecutor.java:37)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement