Jon Koops
31c272d73f
Include Admin UI as a regular dependency ( #11156 )
2022-04-13 09:18:56 -04:00
Dominik Guhr
7811f3721a
Add db-url-port option
...
to set the port when not using a full db-url
closes #11251
2022-04-13 08:31:25 -03:00
Bruno Oliveira da Silva
bb025f1378
Update wildfly-elytron dependency in the main Quarkus distribution (CVE-2021-3642)
...
Resolves #11196
2022-04-11 09:47:39 -03:00
Stian Thorgersen
7c64f28934
Change admin console to load keycloak.js using a relative URL ( #11109 )
...
* Change admin console to load keycloak.js using a relative URL
Closes #11108
* fix tests
Co-authored-by: Dominik Guhr <dguhr@redhat.com>
2022-04-06 09:35:26 +02:00
Dominik Guhr
f247b07022
fixes admin console access using default https port without proxy
...
Closes #11083
2022-04-05 23:13:37 -03:00
Bruno Oliveira da Silva
36c58962d1
Update jackson-databind dependency to fix CVE-2020-36518
...
Resolves #11071
2022-04-05 09:31:28 -03:00
Pedro Igor
23c5199c0c
Allow overriding the host header using X-Forwarded-Host ( #11021 )
...
Closes #10997
2022-04-05 09:17:08 +02:00
Pedro Igor
2b5d68d645
Allow resoving theme resources from flat classpath ( #10989 )
...
Closes #10951
2022-04-05 09:16:20 +02:00
Bruno Oliveira da Silva
cc947df828
Update Infinispan to 13.0.8 to fix vulnerabilities reported on XStream
...
Resolves #11063
2022-04-01 13:09:08 -03:00
Dominik Guhr
9e57f836f2
Make quarkus runtime properties also available as runtime properties in keycloak
...
Changes behaviour to:
- all raw quarkus config properties are handled as runtime config in keycloak, with the exception of raw properties we need for additional datasources, there we check for build- vs runtime
- unknown quarkus buildtime properties require a build first or the usual quarkus warning is shown
- wrapped quarkus properties still get ignored / overwritten by our configuration layer (no change in behaviour here)
Closes #10968
2022-03-30 18:13:09 -03:00
Dominik Guhr
a5c3d035b9
Fixes showing sensitive values like passwords and irritating error msg when key used is unknown
...
Only first unknown option is shown for now. May be iterated in the future.
Closes #10050
Closes #10051
2022-03-29 10:37:07 -03:00
Dominik Guhr
0941a4709e
Fixes windows configuration test
...
also fixes using ~ as database default for e.g. IDELauncher (does not work on all windows versions)
also fixes the HelpCommandTest, as approvalTests are now generated based on the OS the tests run
Closes #10246
Co-authored-by: Victor-Philipp Negoescu <victor-philipp.negoescu@iteratec.com>
2022-03-29 10:34:34 -03:00
Pedro Igor
e177f90299
Allow importing realms during startup ( #10754 )
...
Closes #9261
2022-03-24 14:35:09 +01:00
keycloak-bot
c71aa8b711
Set version to 999-SNAPSHOT ( #10784 )
2022-03-22 09:22:48 +01:00
Pedro Igor
ffa6df5547
Fixes to hostname ( #10820 )
...
Closes #10627
Closes #10331
2022-03-22 08:11:50 +01:00
Pedro Igor
183ad30755
Capacity to change hibernate dialect
...
Closes #10749
2022-03-21 07:18:01 -03:00
JPA2015
a5a384b4d5
#10443 start-dev: parsing command lines parameters
...
kc.bat called "shift" twice after parsing "start-dev". But "start-dev" is only one parameter so that "shift" should be called only once or else further command line parameters won't be parsed correctly.
Closes #10443
2022-03-18 16:19:10 -03:00
Andrea Peruffo
b66115c1df
Create missing data folder in docker image ( #10783 )
...
Resolves #10806
2022-03-17 14:50:38 -03:00
Bruno Oliveira da Silva
8aa394ca6b
Update to Liquibase 4.8.0
...
Closes #10678
Co-authored-by: Stefan Guilhen <sguilhen@redhat.com>
Co-authored-by: Martin Kanis <mkanis@redhat.com>
2022-03-16 13:46:31 -03:00
Dominik Guhr
b82b0000bc
fixes port not recognized when setting hostname and port without proxy
...
Closes #10627
Closes #10331
2022-03-16 12:03:19 -03:00
Pedro Igor
ad865e75c1
Change the flush mode to auto and fixing how entities are checked if they are loaded in the EM
...
Closes #10411
2022-03-11 12:21:52 -03:00
Dominik Guhr
fb41c52675
Update to Quarkus 2.7.4 ( #10687 )
...
includes ispn 13.0.6
Closes #10685
2022-03-11 09:25:34 +01:00
Dominik Guhr
5233f2a729
Remove wrong message from build command help
...
Closes #10664
2022-03-10 13:36:48 -03:00
Dominik Guhr
1710b38cf8
Update to quarkus 2.7.3
...
Full changelog on quarkus side: https://github.com/quarkusio/quarkus/releases/tag/2.7.3.Final | startup performance: no degradation | manual smoke tests: passed
Closes #10641
2022-03-08 13:45:25 -03:00
Pedro Igor
c11a6e3ef0
Allow using an additional persistence unit and datasource
...
Closes #10579
2022-03-08 12:09:49 -03:00
rmartinc
48565832d4
[ #10608 ] Password blacklists folder
2022-03-08 08:22:34 -03:00
Dominik Guhr
8454dc5a5d
Support for console-JSON and FILE logging
...
See logging.adoc for details on the usage
Closes #10523 , #10607 and #10415
2022-03-08 08:19:03 -03:00
Dominik Guhr
c49c4f80a2
update to quarkus 2.7.2
...
postgres update to 42.3.3. Did a hands-on startup performance test between 2.7.1 and 2.7.2, no change (between 3.2xx and 3.4xx seconds for start-dev with initialized db, mostly in the 3.3xx or lower 3.4xx timeframe). Also did a few smoketests
Closes #10437
Closes #10282
2022-02-24 17:19:05 -03:00
andreaTP
59d9e3e3ee
Enable the heatlh endpoints under a flag
2022-02-24 14:35:42 -03:00
Pedro Igor
e3d294e988
Wrong description for import/export options
...
Fixes #10355
2022-02-24 13:28:24 +01:00
Dominik Guhr
c9764e114e
Update quarkus/pom.xml
...
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2022-02-23 11:26:55 -03:00
Dominik Guhr
86dcec8e3a
Update to Quarkus 2.7.1
...
Postgresql driver patch to 42.3.2
Closes #10111
2022-02-23 11:26:55 -03:00
Pedro Igor
209df44641
Fixing responses when unexpected errors occurs ( #10383 )
...
Closes #10338
2022-02-23 07:44:25 +01:00
Dominik Guhr
19a17e79ba
Change tx driver handling.
...
Introduce a non-tx driver for the vendors and map based on new build option transaction-tx-enabled
Closes #10191 and others.
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2022-02-22 18:00:31 -03:00
Dominik Guhr
9358535161
Fix admin user creation message when calling quarkus welcomepage from remote ( #10362 )
...
For wildfly, everything is as before. For Quarkus, we check if http is enabled and provide the right port and scheme if so, and also we are relative-path aware.
Closes #10335
2022-02-22 08:19:45 +01:00
Pedro Igor
a9668d14ce
Proper error response when handing unexpected errors
...
Closes #10176
2022-02-16 15:35:38 -03:00
Yoshiyuki Tabata
089c2df391
Closes #10243 ( #10244 )
2022-02-16 12:22:11 +01:00
Stian Thorgersen
fa87d46210
Remove additional repositories where they are not needed. Set updatePolicy for GA. ( #10047 )
...
Closes : #10133
2022-02-16 08:59:05 +01:00
Pedro Igor
f3c3bb5001
Removing unnecessary code paths during startup ( #10131 )
...
Closes #10130
2022-02-15 12:09:14 +01:00
Stian Thorgersen
5d3fbbb158
Update README.md
2022-02-15 08:11:44 +01:00
Dominik Guhr
5d781304e7
Fix idelauncher resourceloading
...
caused by doubled slashes when getting the path for resources while running IDELauncher. So now we sanitize them. Tests by building and running wf and quarkus distribution, running from idelauncher and running using quarkus:dev, assets got always loaded.
closes #9942
2022-02-14 15:51:58 -03:00
Dominik Guhr
e1967250af
provide readme for containers module ( #10093 )
...
seems to accidentally gone missing when moving from containers repo
Closes #10092
2022-02-14 16:03:03 +01:00
Thomas Darimont
61ea2dd1bb
Add ability to control debug suspend mode to kc scripts
...
We now consider the new env variable DEBUG_SUSPEND to control the
suspend mode of the remote debug configuration. DEBUG_SUSPEND defaults to 'n' which was the hard-coded default setting before.
Fixes #10178
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2022-02-13 13:39:10 -03:00
keycloak-bot
d9f1a9b207
Set version to 18.0.0-SNAPSHOT ( #10165 )
2022-02-11 21:28:06 +01:00
Sebastian Schuster
011d108fff
10073 reduced quarkus image size ( #10074 )
2022-02-10 08:01:51 +01:00
Dominik Guhr
23e5bc7aa3
Readme review v1 ( #10082 )
2022-02-10 06:51:53 +01:00
Stefan Guilhen
7c1d6eae43
Upgrade to Liquibase 4.6.2
...
* Upgrade to Liquibase 4.6.2
* Add valid checksums to changesets to allow migration to newest liquibase
* Update liquibase licenses
Co-authored-by: Martin Kanis <mkanis@redhat.com>
2022-02-09 12:56:46 +01:00
Pedro Igor
82300ba731
Failing to use cache remote-stores due to missing dependencies
...
Closes #10046
2022-02-09 06:34:41 -03:00
Pedro Igor
0908325e6d
Can not set a jgroups stack other than the defaults from Infinispan
...
Closes #10052
2022-02-09 06:34:25 -03:00
Dominik Guhr
c22299045c
remove profile references
...
Closes #9683
2022-02-09 06:24:37 -03:00
Dominik Guhr
1b77358160
Logging guide v1
...
Closes #10001
2022-02-08 18:13:05 -03:00
Pedro Igor
f107f0596e
Rename h2-file and h2-mem and removing defaults from production databases
...
Closes #9973
2022-02-04 15:43:51 -03:00
andreaTP
3244cd7f84
Remove Quarkus tests workaround for log capturing
2022-02-04 11:20:18 -03:00
Pedro Igor
eaa8ea6334
Revert changes to stick session defaults
...
Repoen #9393
2022-02-04 15:12:56 +01:00
Dominik Guhr
a592fae626
Fix success on invalid build
...
Closes #9790
2022-02-04 15:11:53 +01:00
Dominik Guhr
0f3293cf00
Do not show full help when providing an invalid option
...
Closes #9956
2022-02-04 13:53:02 +01:00
Pedro Igor
ec49695a98
Initial logging support
...
Closes #9901
2022-02-03 13:44:24 +01:00
Pedro Igor
0de72105d7
Default to not attach route to cookies
...
Closes #9393
2022-02-02 13:35:18 -03:00
Pedro Igor
3967c81453
Review Configuring a Database guide ( #9559 )
...
Closes #9457
Co-authored-by: Stian Thorgersen <stian@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2022-02-02 13:30:53 +01:00
Pedro Igor
fe0cb36284
Do not run re-augmentation if config is the same in dev mode
...
Closes #9906
2022-02-01 13:32:16 -03:00
Stian Thorgersen
cc88fb2daa
Update default distribution to Quarkus ( #9839 )
...
Closes #9837
2022-02-01 09:42:09 +01:00
Dominik Guhr
5a1f4b8889
Quarkus update to 2.7.0.Final
...
Minor and micro dependency updates, some relocations (e.g. vault, ZipUtils), so some changes were needed to make this work.
Closes #9872
2022-01-31 09:55:02 -03:00
Pedro Igor
d140abb8fa
Mapped Quarkus properties should not be persisted ( #9808 )
...
Closes #9807
2022-01-27 11:12:31 +01:00
Pedro Igor
7c162b42a6
Improve enabling/disabling features in Quarkus distribution ( #9801 )
...
Closes #9706
2022-01-27 11:11:46 +01:00
Pedro Igor
781ceb24fd
Add a quarkus.properties for unsupported configuration options
...
Closes #9682
2022-01-26 11:26:50 -03:00
Pedro Igor
d28b54e5d5
Hide Hasicorp Vault from CLI ( #9700 )
...
Closes #9688
2022-01-25 14:24:35 +01:00
Pedro Igor
b53c5d5eee
Build command should not allow runtime options
...
Closes #9618
2022-01-23 16:30:48 -03:00
Thomas Darimont
438fc2865f
Fix embedded theme-resources lookup in Keycloak.X
...
Previously lookups for embedded theme-resources did not work for Keycloak.X because of a missing
`ClasspathThemeResourceProvider` registration.
This PR ensures that a `ClasspathThemeResourceProvider` is registered in Keycloak.X based deployments.
Added empty constructors to ClasspathThemeResourceProvider to enable dynamic instantiation by Quarkus.
Fixes #9653
2022-01-21 09:52:26 -03:00
Pedro Igor
1b1e220236
Remove system property from help message ( #9694 )
...
Closes #9687
2022-01-21 13:22:21 +01:00
Stian Thorgersen
b8d3c12a08
Update layout for options in guides ( #9658 )
2022-01-20 14:21:23 +01:00
Pedro Igor
0a9387ff4f
Unified configuration option format and renaming keycloak.properties to keycloak.conf
...
Closes #9606
2022-01-19 08:47:15 -03:00
Pedro Igor
8ed7c0544f
Defaults to TLSv1.3
...
Closes #9530
2022-01-18 07:42:24 -03:00
Daniel Gozalo
8ea09d3816
[ fixes #9222 ] - Let users configure Dynamic Client Scopes ( #9327 )
2022-01-12 14:27:24 +01:00
Dominik Guhr
fe506bceaa
Change config ordinals and simpler keycloak.properties file
...
Closes #9473
2022-01-11 15:11:59 -03:00
Pedro Igor
b2e55762f1
Properly setting the database schema ( #9400 )
...
Closes #9398
2022-01-11 09:22:11 +01:00
Pedro Igor
cbfd989ca9
Allow equal sign within option values ( #9402 )
...
Closes #9397
2022-01-11 09:21:38 +01:00
Pedro Igor
981cda5bfd
Database configuration tests
...
Closes #9293
2022-01-05 09:26:46 -08:00
CorneliaLahnsteiner
dff79cee3c
KEYCLOAK-847 Add support for step up authentication ( #7897 )
...
KEYCLOAK-847 Fix behavior of unknown not essential acr claim
Co-authored-by: Georg Romstorfer <georg.romstorfer@gmail.com>
Co-authored-by: Marek Posolda <mposolda@gmail.com>
2021-12-22 12:43:12 +01:00
andreaTP
dfcf46ca60
Bump Quarkus to 2.5.4.Final
2021-12-22 02:29:28 -08:00
Pedro Igor
ca58aa7b3d
[ fixes #9250 ] - Wrong query when fetching last model version ( #9251 )
2021-12-22 08:25:06 +01:00
Pedro Igor
4f568dff63
[ fixes #9133 ] - Allow setting JDBC driver and transaction type
2021-12-21 09:57:21 -08:00
Dominik Guhr
93aeb572bb
[ closes #9284 ] - remove xmlsec version from quarkus pom
2021-12-21 09:12:08 -08:00
andreaTP
6c12c18854
review
2021-12-20 07:47:42 -08:00
andreaTP
79463ffa58
Stabilize docker distribution tests
2021-12-20 07:47:42 -08:00
keycloak-bot
9f3d4a7d42
Set version to 17.0.0-SNAPSHOT
2021-12-20 10:50:39 +01:00
Dominik Guhr
68271ba486
Solves Issue [ #9186 ] Update to 2.5.3 and small typo fix
2021-12-16 07:43:45 -08:00
Dominik Guhr
c70dc0e72d
Add IsIntegrationTest BuildStep Annotation
2021-12-14 04:07:48 -08:00
Dominik Guhr
dad5639b4e
WIP: use extra buildstep and configprovider for tests
2021-12-14 04:07:48 -08:00
Pedro Igor
6cc674a875
[ fixes #9108 ] - Unable to recognized SPI persisted properties
2021-12-14 03:32:59 -08:00
Pedro Igor
07196cdcf9
[ fixes #9116 ] - Fixing cluster config tests
2021-12-14 03:32:43 -08:00
Pedro Igor
9b243cebeb
[ fixes #9089 ] - Fixing export and import commands
2021-12-14 03:32:10 -08:00
Dominik Guhr
f2abfecca1
KEYCLOAK-19858 Add Tests to check that no credentials are leaking when using CLI commands. Also: Tests for Help Command output using Golden master technique
2021-12-14 02:13:59 -08:00
Dominik Guhr
21ccf7dd8a
Fixes 9094: Remove other values for features command. Only preview allowed for now.
2021-12-13 13:58:56 -08:00
Dominik Guhr
d6abade872
Solves #9080 - relocating dependency jars to new location.
2021-12-13 06:23:34 -08:00
stianst
c7134fd539
Initial toolchain for Quarkus distribution documentation
...
Closes #9054
2021-12-10 02:34:03 -08:00
Pedro Igor
bf0f3d605c
[ fixes #9052 ] - Renaming cluster options to cache
2021-12-10 08:20:53 +01:00
Thomas Darimont
50060775f6
8877 Make KeycloakMetricsHandler aware of context-path
...
Adapt KeycloakMetricsHandler to consider custom relative paths via `kc.http.relative-path`
or --http-relative-path=/auth. Previously only the fixed path /metrics was allowed which did not work
with custom context-paths.
- Adapted KeycloakProcessor to Pedros proposal from 0b28d71dd0
- Removed unnecessary KeycloakMetricsHandler
- Added MetricsDistTest
Fixes #8877
2021-12-09 13:13:14 -08:00
Pedro Igor
48835576da
[KEYCLOAK-19885] - Parallelize cache manager init
2021-12-09 15:35:55 +01:00
Pedro Igor
43c46dbcf8
[KEYCLOAK-19686] - Windows support and recording if persisted properties
2021-12-07 09:18:32 -08:00
andreaTP
1f9b2be65a
more improvements
2021-12-07 04:56:52 -08:00