Commit graph

575 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Thomas Darimont
6b9e25e42d KEYCLOAK-19292 Add missing metadata to fix quarkus dev ui rendering
This allows to open http://localhost:8080/q/dev/ without problems.

Previously opening the /q/dev UI resulted in an Exception being thrown.
```
io.quarkus.qute.TemplateException: Property "description" not found on the base object "java.util.LinkedHashMap" in expression {it.description} in template tags/nonActionableExtension.html on line 21
```
2021-09-14 15:40:22 -03:00
Dominik
8ffd53e206 KEYCLOAK-18705 add twitter4j dependency to fix twitter social login in quarkus distribution 2021-09-13 08:58:00 -03:00
Pedro Igor
aa018295c4 [KEYCLOAK-17866] - Upgrade to Quarkus v2 2021-09-10 11:21:09 -03:00
rmartinc
47484c1aed KEYCLOAK-18842: deleteExpiredClientSessions very slow on MariaDB 2021-09-10 08:25:33 +02:00
keycloak-bot
262ec3d031 Set version to 16.0.0-SNAPSHOT 2021-07-30 14:56:10 +02:00
vramik
333f77a039 KEYCLOAK-18518 Add expiration lifespan configuration to every distributed and replicated cache 2021-07-09 13:25:56 +02:00
keycloak-bot
13f7831a77 Set version to 15.0.0-SNAPSHOT 2021-06-18 10:42:27 +02:00
Pedro Igor
7d64637438 [KEYCLOAK-18117] - Unhandled exceptions not releasing worker thread 2021-06-10 10:58:07 +02:00
Yoshiyuki Tabata
ead667aaac KEYCLOAK-18378 cannot configure Agroal ExceptionSorter correctly 2021-06-09 08:55:40 -03:00
mposolda
2817cb4a19 KEYCLOAK-17683 Use dedicated tmp directory even in unit tests 2021-05-24 10:07:26 +02:00
Pedro Igor
927c359693
[KEYCLOAK-18086] - cluster-stack setting not working (#8037) 2021-05-14 09:54:01 +02:00
Marek Posolda
a6d4316084
KEYCLOAK-14209 Client policies admin console support. Changing of format of JSON for client policies and profiles. Remove support for default policies (#7969)
* KEYCLOAK-14209 KEYCLOAK-17988 Client policies admin console support. Changing of format of JSON for client policies and profiles. Refactoring based on feedback and remove builtin policies
2021-05-12 16:19:55 +02:00
Pedro Igor
1855a5e17c [KEYCLOAK-17923] - No marshaller registered for clustered sessions in Keycloak.X 2021-05-10 16:15:24 -03:00
Tjeu Kayim
0bf347e26d KEYCLOAK-17897 Parse CLI arguments with multiple =
To support cases like --db-url=jdbc:mariadb://localhost/kc?a=1
Reverts a part of commit 04415d34ea
2021-05-10 10:12:40 -03:00
Yoshiyuki Tabata
ce4f31a8c3 KEYCLOAK-17801 Help message for DB is incorrect 2021-05-10 08:09:01 -03:00
keycloak-bot
4b44f7d566 Set version to 14.0.0-SNAPSHOT 2021-05-06 14:55:01 +02:00
Pedro Igor
2c09f4d205 [KEYCLOAK-17208] - Upgrade Quarkus 1.13.3.Final 2021-04-29 12:49:32 -03:00
vramik
162043beec KEYCLOAK-17615 Move database initialization from KeycloakApplication to JpaConnectionProviderFactory 2021-04-28 13:43:48 +02:00
Pedro Igor
6d17117f42 Upgrading to Quarkus 1.13.2.Final 2021-04-26 07:58:39 -03:00
Yoshiyuki Tabata
fa6903a1b5 KEYCLOAK-17820 Adding default clustering configuration for Azure and GCP
to help message
2021-04-22 09:31:03 -03:00
Hynek Mlnarik
ff4c0e4412 KEYCLOAK-16935 Fix liquibase to work with MySQL 8.0.23+ 2021-04-21 20:20:33 +02:00
Takashi Norimatsu
42dec08f3c
KEYCLOAK-16805 Client Policy : Support New Admin REST API (Implementation) (#7780)
* KEYCLOAK-16805 Client Policy : Support New Admin REST API (Implementation)

* support tests using auth-server-quarkus

* Configuration changes for ClientPolicyExecutorProvider

* Change VALUE of table REALM_ATTRIBUTES to NCLOB

* add author tag

* incorporate all review comments

Co-authored-by: mposolda <mposolda@gmail.com>
2021-04-06 16:31:10 +02:00
Hynek Mlnarik
a36fafe04e KEYCLOAK-17409 Support for amphibian (both component and standalone) provider 2021-03-25 13:28:20 +01:00
Pedro Igor
cbb118c013 [KEYCLOAK-17442] - Upgrade to Quarkus 1.12.2 2021-03-17 13:45:30 -03:00
mposolda
853a6d7327 KEYCLOAK-17000 Adding server tmp directory inside the auth-server home directory 2021-03-17 10:06:48 +01:00
Pedro Igor
ffadbc3ba3 [KEYCLOAK-17173] - Support for script providers in keycloak.x 2021-02-22 10:12:36 -03:00
Pedro Igor
35ecaf07cb [KEYCLOAK-16667] - Can't set key when setting up TLS using PEM files 2021-02-02 11:30:08 -03:00
Pedro Igor
cdf0ead957
[KEYCLOAK-16780] - Allow batching writes to storage when running migration (#7717)
Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com>

Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com>
2021-01-29 09:35:19 -03:00
Michal Hajas
ba8e2fef6b KEYCLOAK-15524 Cleanup user related interfaces 2021-01-18 16:56:10 +01:00
Pedro Igor
ca7c866eb4 [KEYCLOAK-16668] - Error when creating admin user when starting Keycloak.x for the first time 2021-01-05 15:19:52 -03:00
keycloak-bot
75be33ccad Set version to 13.0.0-SNAPSHOT 2020-12-16 17:31:55 +01:00
Jan Lieskovsky
833bf98643 [KEYCLOAK-15692] Upgrade to Wildfly "21.0.1.Final"
Base fixes:
* [KEYCLOAK-15780]      Upgrade Keycloak to Wildfly 21.0.0.Beta1 / Wildfly Core 13.0.0.Beta6
* [KEYCLOAK-16031]      Upgrade Keycloak to Wildfly 21.0.0.Final / Wildfly Core 13.0.1.Final
* [KEYCLOAK-16442]      Upgrade Keycloak to Wildfly 21.0.1.Final / Wildfly Core 13.0.3.Final

Other (dependent) fixes:
* [KEYCLOAK-15408]      Deprecate former Wildfly and Wildfly Core versions in Arquillian's
                        testsuite pom.xml file as part of the upgrade script
* [KEYCLOAK-15442]      Update the version of 'jboss-parent' as part of the Wildfly upgrade
                        script if necessary
* [KEYCLOAK-15474]      Add --verbose and --force options to the Wildfly upgrade automated script
* [KEYCLOAK-15649]      Update "urn:jboss:domain:infinispan:10.0" version as part of the Wildfly
                        upgrade automated script
* [KEYCLOAK-15652]      Wildfly upgrade automated script - Align Python artifact version
                        comparsion algorithm with the Maven / Java one

Signed-off-by: Jan Lieskovsky <jlieskov@redhat.com>
2020-11-26 09:25:29 +01:00
Miquel Simon
b35cd9beee KEYCLOAK-13644. Added healthcheck endpoints tests. 2020-11-13 15:04:15 -03:00
Pedro Igor
42b9141326 [KEYCLOAK-13639] - Improvements to metrics and health status 2020-11-13 07:14:43 -03:00
Pedro Igor
7ad1c350a3 [KEYCLOAK-16245] - Update Quarkus 1.10.0.CR1 2020-11-12 13:21:08 -03:00
Miquel Simon
e8e5808aa9 KEYCLOAK-13639. Added metrics and custom healthcheck endpoints, both enabled via 'metrics.enabled' config parameter. 2020-11-11 21:16:14 +01:00
Pedro Igor
f6fe88b587 [KEYCLOAK-16126] - Windows support 2020-11-10 08:48:39 +01:00
Pedro Igor
a01dcc5456 Minor updates to config based on design document changes 2020-11-05 12:23:44 +01:00
Pedro Igor
8d7195637d [KEYCLOAK-16116] - PersistedConfigSource for resolving build time properties 2020-11-02 15:30:32 +01:00
Pedro Igor
18c67f51ce KEYCLOAK-16066 KEYCLOAK-14255 Unable to build Keycloak distribution on Windows due to io.quarkus.builder.BuildException failure
* file separator removed from KeycloakPropertiesConfigSource.java

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>

fixing windows
2020-10-30 12:13:00 -03:00
Pedro Igor
452bcd8bd9 Improvements to configuration 2020-10-30 12:17:55 +01:00
Pedro Igor
9081dbe83f Need to show messages thrown at runtime 2020-10-26 20:53:46 +01:00
Pedro Igor
3acfad98cf [KEYCLOAK-14255] - Avoid creating CLI during startup 2020-10-26 20:53:46 +01:00
Pedro Igor
c929f81dd7 Minor changes to pom files and fixing exception handling 2020-10-26 10:17:31 +01:00
mposolda
c98048bf64 KEYCLOAK-16063 Messed output when running './kc.sh' 2020-10-23 16:46:06 -03:00
mposolda
4f93dc8376 KEYCLOAK-11693 Clean startup log output in Keycloak.X 2020-10-23 09:33:54 -03:00
mposolda
e0ea961599 KEYCLOAK-16049 Running './kc.sh --profile=prod' still uses dev profile 2020-10-23 09:33:54 -03:00
Pedro Igor
b95ca30ec2 [KEYCLOAK-14255] - Minor fixes and improvements 2020-10-23 10:39:21 +02:00
Pedro Igor
a965025be8 [KEYCLOAK-11331] - MySQL support 2020-10-21 16:55:25 +02:00
Pedro Igor
ee82391bd2 Fixing passing system properties and adding http.host option 2020-10-21 08:53:31 +02:00
Pedro Igor
4b75c83112 Default key store file for enabling HTTPS 2020-10-19 14:45:21 +02:00
Pedro Igor
be19c6b806 Updating to Quarkus 1.9.0.Final 2020-10-15 08:41:21 +02:00
mposolda
2ab355f7a2 KEYCLOAK-15924 Use 'cluster' instead of 'clustered' option. Execute StartupTest on GH actions. 2020-10-15 08:38:08 +02:00
mposolda
4fd1950f5c KEYCLOAK-15910 Rename "cluster.enabled" to "clustered". Fix test and minor cleanup. Adding GH action for quarkus unit test 2020-10-09 15:27:47 -03:00
Pedro Igor
1a1c42c776 Improvements to error messages 2020-10-08 12:04:11 -03:00
Pedro Igor
efa16b5ac4 [KEYCLOAK-14255] - More improvements to CLI 2020-10-02 11:50:23 -03:00
mposolda
10859ebfc3 KEYCLOAK-15631 Disable clustering for 'dev' profile. Remove cluster.xml file from quarkus distribution packaging 2020-09-29 09:13:29 -03:00
Pedro Igor
04415d34ea [KEYCLOAK-14255] - More improvements to CLI 2020-09-25 08:52:19 +02:00
mposolda
006b98ae13 KEYCLOAK-15632 Support nested expressions inside StringPropertyReplacer 2020-09-24 18:41:01 +02:00
Pedro Igor
267be2d416 [KEYCLOAK-14255] - More improvements to CLI 2020-09-23 10:47:11 -03:00
mposolda
f0a8e78636 KEYCLOAK-15635 Remove quarkus.index-dependency properties from application.properties 2020-09-22 19:30:44 -03:00
Pedro Igor
3fd6f0ce10 [KEYCLOAK-14255] - Fixing tests 2020-09-17 10:38:41 +02:00
Pedro Igor
0978d78a48 [KEYCLOAK-14255] - Initial changes to configuration 2020-09-16 20:03:52 +02:00
mposolda
4123b7a91e KEYCLOAK-11678 Remove dummy resource. Adding keycloak-services and liquibase to jandex indexing 2020-09-14 09:27:34 -03:00
keycloak-bot
afff0a5109 Set version to 12.0.0-SNAPSHOT 2020-07-22 14:36:15 +02:00
Jan Lieskovsky
969b09f530 [KEYCLOAK-13692] Upgrade to Wildfly "20.0.1.Final" and Infinispan "10.1.8.Final"
Co-authored-by: Jan Lieskovsky <jlieskov@redhat.com>
Co-authored-by: Marek Posolda <mposolda@redhat.com>
2020-07-20 22:15:08 +02:00
Pedro Igor
967449f5c6 [KEYCLOAK-14255] - Changes to maven definition and initial support for dev mode 2020-07-17 10:35:03 -03:00
Pedro Igor
582046bbfe [KEYCLOAK-13141] - Fixing filter 2020-07-15 11:00:55 -03:00
Pedro Igor
1db1deb066 [KEYCLOAK-13141] - Supporting re-augmentation 2020-07-10 11:04:46 -03:00
Pedro Igor
9c4da9b3ce [KEYCLOAK-14147] - Request filter refactoring
Co-authored-by: Stian Thorgersen <stian@redhat.com>
Co-authored-by: Martin Kanis <mkanis@redhat.com>
2020-07-07 11:26:12 -03:00
Pedro Igor
d331091c5e [KEYCLOAK-11330] - Quarkus tests 2020-06-17 17:20:55 +02:00
Pedro Igor
8142b9ad7f [KEYCLOAK-11330] - Fixing build when using empty repository 2020-06-10 08:03:18 -03:00
Pedro Igor
6ccde288a3 [KEYCLOAK-11330] - SSL Support 2020-06-09 08:43:52 +02:00
Pedro Igor
82cfb8e821 [KEYCLOAK-11330] - Data and conf directory on distribution 2020-06-04 08:29:59 -03:00
Pedro Igor
357982adf6 [KEYCLOAK-11330] - Initial changes to get testsuite working for Quarkus 2020-06-03 09:57:24 -03:00
Pedro Igor
ee83f8c16f [KEYCLOAK-11679] - Creating keys right after master realm creation 2020-05-28 10:55:25 +02:00
Pedro Igor
b6060c52b7 [KEYCLOAK-11679] - Avoid reflection when handlign startup event 2020-05-27 08:17:12 +02:00
Pedro Igor
f15821fe69 [KEYCLOAK-11679] - Server startup on Quarkus 2020-05-26 08:34:07 -03:00
Pedro Igor
cc776204f0 [KEYCLOAK-14264] - Temporary multi-database support 2020-05-20 16:38:28 +02:00
Pedro Igor
54db691b26 [KEYCLOAK-11784] - Quarkus Keycloak Application 2020-05-20 08:25:25 +02:00
Pedro Igor
68024396f1 [KEYCLOAK-11784] - Quarkus Extension
Co-authored-by: stianst <stianst@gmail.com>
2020-05-19 14:57:15 +02:00