Commit graph

269 commits

Author SHA1 Message Date
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
andreaTP
e1a2e27e6c Faster Quarkus Docker based tests 2021-12-07 04:56:52 -08:00
andreaTP
8750d94140 [KEYCLOAK-19847] - Restore Docker Dist tests coverage 2021-12-07 04:56:52 -08:00
Dominik Guhr
28673ed4d8 KEYCLOAK-19832 Update to Quarkus 2.5.1 2021-12-06 12:10:55 -08:00
Pedro Igor
9a4ab82d08 [KEYCLOAK-19847] - Optimizations and refactoring for better/stable startup time 2021-12-02 08:57:23 -08:00
Pedro Igor
7bef534392 [KEYCLOAK-19859] - Patching request filter to properly end responses 2021-12-01 09:18:56 -08:00
Dominik Guhr
7f734c9e68 KEYCLOAK-19858: Sanitize CLI Log output and show-config output 2021-11-30 13:02:35 -08:00
Andrea Peruffo
cd5ccdbf3e
[KEYCLOAK-19311] Add testcontainers to Dist.X Integration Tests (#8946)
* Supporting running tests against the server image using test containers
2021-11-29 11:20:50 -03:00
Andrea Peruffo
79931fd607
[KEYCLOAK-19311] Distx IT tests improvements (#8930)
* Testcontainers support to Dist.X testsuite
2021-11-29 09:28:04 -03:00
Pedro Igor
e1916fbdb1 [KEYCLOAK-19311] - Baseline for Dist.X tests 2021-11-24 05:06:53 -08:00
andreaTP
82bfe9d977 [KEYCLOAK-19833] Fix message format 2021-11-23 02:29:15 -08:00
andreaTP
49bb06325e [KEYCLOAK-19833] Fix command line completion on ZSH 2021-11-22 16:50:43 -08:00
Pedro Igor
a1eb915c5f [KEYCLOAK-19798] - Filtering options based on the command 2021-11-22 05:17:31 -08:00
Bruno Oliveira da Silva
262cde8f52 [KEYCLOAK-19830] Update Quarkus distribution dependencies 2021-11-19 08:18:05 -03:00
Pedro Igor
f5725cb629 [KEYCLOAK-19798] - Move pf,cf,v options to the root command and error handling 2021-11-18 14:01:46 -03:00
Dominik Guhr
4fd29759ad KEYCLOAK-19824: Use Config variables instead of system variables to change the default jdbc url 2021-11-17 12:22:08 -03:00
Pedro Igor
e14e56e0f3 [KEYCLOAK-19798] - Hostname support for Dist.X
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2021-11-17 10:51:58 -03:00
stianst
51ccf58dff Add missing dependency on server-deployment 2021-11-16 16:38:32 -03:00
Dominik Guhr
8bd18ff21a KEYCLOAK-19808 throw error when using start command after start-dev without rebuild first 2021-11-16 14:36:25 -03:00
Dominik Guhr
35bc1c673e KEYCLOAK-19814 - Update Quarkus to 2.4.2.Final 2021-11-13 07:20:07 -03:00
Pedro Igor
37b36decbb [KEYCLOAK-19798] - Less verbose HTTP options and minor changes to property mappers 2021-11-12 07:50:32 -03:00
Pedro Igor
6071e2d518 [KEYCLOAK-19310] - Oracle Support 2021-11-11 08:51:09 -03:00
Pedro Igor
3a7f5171ab [KEYCLOAK-19310] - MSSQL Support 2021-11-10 08:07:10 -03:00
Dominik Guhr
13a7f773a9 KEYCLOAK-19446 Use FolderThemeProviderFactory with fallback for quarkus so no need to always set config or system variable 2021-11-09 07:59:40 -03:00
Pedro Igor
430fd35e2f [KEYCLOAK-19767] - Changing paramLabel and options formatting in help 2021-11-09 09:14:56 +01:00
Dominik Guhr
8bafdb130e Keycloak-19762 Quarkus Update to 2.4.1.Final 2021-11-04 12:14:39 -03:00
Pedro Igor
4606b85596 [KEYCLOAK-19767] - Minor improvements to CLI 2021-11-04 12:14:12 -03:00
Dominik Guhr
579c5462b2 KEYCLOAK-19308 Grouping for help commands and refactoring of Propertymapper usage to provida a fluid API 2021-11-04 08:59:56 -03:00
Dominik Guhr
29b1aec4b5 KEYCLOAK-19711 Change Locations of h2-db files and gzip files 2021-11-03 22:42:34 -03:00
Pedro Igor
eaa96f6147 [KEYCLOAK-18255] - Vault Support in Dist.X 2021-11-03 09:23:33 -03:00
Pedro Igor
9dfcaf0162 [KEYCLOAK-19687] - Moving cluster config parsing to build time 2021-11-01 10:26:48 -03:00
Dominik Guhr
5628370099 KEYCLOAK-19307 provide hints in CLI 2021-10-27 15:05:04 -03:00
Dominik Guhr
d6ae76d8f2 KEYCLOAK-19599 Update Quarkus to 2.4.0.Final 2021-10-25 09:12:34 +02:00
Dominik Guhr
02355403e9 KEYCLOAK-19582 Quarkus update to 2.4.0.CR1 2021-10-19 15:24:38 -03:00
Pedro Igor
b4c837f148 [KEYCLOAK-19564] - Avoid split packages in Dist.X 2021-10-18 14:38:24 -03:00
Dominik Guhr
c45a6fde12
KEYCLOAK-19547 Switch arquillian quarkus container to use autobuild to prevent timeo… (#8576)
* KEYCLOAK-19547 Switch arquillian quarkus container to use autobuild to prevent timeouts when reaugmentation is longer than 10s

Co-authored-by: Dominik Guhr <dguhr@redhat.com>
2021-10-18 08:53:12 -03:00
Pedro Igor
982f0f93b4 [KEYCLOAK-19559] - Support for custom JPA model 2021-10-15 08:48:30 -03:00
Pedro Igor
82e4f9a314 [KEYCLOAK-19459] - Supporting options with spaces 2021-10-14 17:08:06 -03:00
Pedro Igor
fa1544a25e [KEYCLOAK-19309] - Minor fixes and improvements 2021-10-14 07:40:44 -03:00
Pedro Igor
cdfe29d1e3 [KEYCLOAK-19309] - Initial support for auto-complete 2021-10-13 14:53:18 -03:00
Dominik
8f3940032e KEYCLOAK-19461 Add dependency for openshift restclient to quarkus dist to make the OpenShiftClientStorageTest work. 2021-10-13 14:52:19 -03:00
Dominik
395cd792ff KEYCLOAK-19521 Fix resourcetag after restart in Keycloak.X 2021-10-11 14:19:46 -03:00
Pedro Igor
26a2bbac60 [KEYCLOAK-19309] - Refactoring code to make easier to support additional commands 2021-10-08 11:10:28 -03:00
Martin Kanis
30b3caee9f KEYCLOAK-18445 Add support for cross-site model tests 2021-10-06 14:37:06 +02:00
Dominik
24a6b77fb4 KEYCLOAK-19425 Allow comma separated args-list in CLI 2021-10-04 15:32:58 -03:00
Pedro Igor
4e6e125ede [KEYCLOAK-19426] - Support for auto-build when starting the server 2021-10-04 10:33:14 -03:00
Pedro Igor
0210acadad [KEYCLOAK-19424] - Rename the config command to build 2021-10-01 08:39:50 +02:00
Pedro Igor
da8861686a [KEYCLOAK-19427] - Upgrade to Quarkus 2.3.0.Final 2021-09-30 10:15:46 -03:00
stianst
f471a110cd KEYCLOAK-19408 Better client secrets 2021-09-29 18:19:43 +02:00
Pedro Igor
36706c7bd1 [KEYCLOAK-19306] - Automatic re-augmentation 2021-09-29 09:12:14 -03:00
Thomas Darimont
15b3af7b06 KEYCLOAK-19373 Align dependencies with Quarkus 2.2.3
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2021-09-28 14:42:04 -03:00
Thomas Darimont
eedccfd8f7 KEYCLOAK-19373 Update quarkus version to 2.2.3.Final
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2021-09-28 14:42:04 -03:00
Pedro Igor
6e8cd3262d [KEYCLOAK-19380] - Import not running once schema is inited and requiring full server setup 2021-09-27 11:46:51 -03:00
Pedro Igor
10e425315f [KEYCLOAK-19274] - Avoid loading queries from properties at runtime for Dist.X 2021-09-24 09:26:43 +02:00