959 Commits

Author SHA1 Message Date
github-actions[bot]
b0bdcb3e1f Set version to 26.2.3 2025-05-05 10:57:57 +00:00
Steven Hawkins
4797989ea3
fix: adding a check for truncated last modified timestamps
closes: #38893


(cherry picked from commit 0ff4cce3180d6441b5dfaa269a33cb3cab15dd5e)

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-04-30 12:50:02 +00:00
Martin Bartoš
507b8ec862
Oracle driver problems in Keycloak 26.2.1
Closes #39182

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-04-30 10:29:03 +02:00
Steve Hawkins
99ca24c832 fix: remove ANY mode modification of truststores
also note that ANY should not be used in production

closes: CVE-2025-3501

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

Add a test for the error (#1)

Signed-off-by: Ricardo Martin <rmartinc@redhat.com>

Update docs/guides/server/keycloak-truststore.adoc

Co-authored-by: Marek Posolda <mposolda@gmail.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
2025-04-24 12:09:03 +02:00
Peter Zaoral
aa58d788d8
Fix JavaOptsScriptTest - regex update for Windows kc.home.dir path format (#39153)
Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2025-04-23 16:21:24 +02:00
Martin Bartoš
18a30ea4dc
Make distribution startup timeout configurable (#39149)
Closes #39142

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-04-23 16:20:19 +02:00
Steven Hawkins
5e8998ae32
fix: improving the name of application.properties (#38691)
closes: #38389

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-04-10 11:28:01 +02:00
Falko Modler
770a575f95
Allow zero tracing-sampler-ratio
Closes #38764

Signed-off-by: Falko Modler <famod@users.noreply.github.com>
2025-04-09 11:57:03 +00:00
Steven Hawkins
00104461bf
fix: removing quarkus-devtools-common transitive dependencies (#38666)
closes: #38665

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-04-08 14:03:50 -04:00
Martin Bartoš
83001e4024
OTelHttpClientFactory not configured properly when tracing enabled
Closes #38740

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-04-08 17:04:23 +00:00
vramik
602258d935 [FGAP] Switch the feature from Experimental to Supported
Closes #38651

Signed-off-by: vramik <vramik@redhat.com>
2025-04-08 13:00:47 -03:00
Alexander Schwartz
2ad776553a
Adding a guide on how to enable and use exemplars
Closes #38688

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2025-04-08 07:23:28 -03:00
Pedro Igor
8521b9952a
Export failing if the realm has FGAP enabled
Closes #38695

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-04-07 18:47:44 +02:00
Michal Hajas
42a0d0ed28
Commit delete and insert statements together when updating jgroups-jdbc-ping table
Closes #38550

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2025-04-02 15:31:03 +02:00
Alexander Nikolaev
1e235088c3
Only the version is needed to build the Docker image. (#38418)
Closes #38459

Signed-off-by: Alexander Nikolaev <zvava@ya.ru>
2025-04-01 12:06:41 +02:00
Steven Hawkins
cc1cd6905c
fix: adding param labels to bootstrap admin options (#38533)
also excluding general bootstrap admin options

closes: #38515

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-03-29 11:57:02 +01:00
Steven Hawkins
94445778e2
fix: removing the use of hostname-strict-https mistakenly brought back (#38536)
also properly emit the http v1 check

closes: #38236

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-03-28 19:30:48 +01:00
Steven Hawkins
a420ecddb1
fix: correcting the test expecation for non-ip address (#38528)
closes: #38517 #36843

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-03-28 13:22:31 +00:00
Pedro Ruivo
6aa3f9d5a7
Load all ProtoSchemas from the classpath
Closes #34971

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2025-03-27 15:41:01 +01:00
Steven Hawkins
dcbaec535e
fix: validating when derived options are used (#38389)
also reworking show-config

closes: #38249

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
2025-03-26 15:58:02 +00:00
Steven Hawkins
cfe4ed1cf3
fix: refinements to minimize the config logic (#38237)
* fix: small refinements to minimize the config logic

closes: #38236

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
# Conflicts:
#	quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/KeycloakPropertiesConfigSource.java
# Conflicts:
#	quarkus/runtime/src/main/resources/META-INF/keycloak.conf

* fully removing profiled property considerations

also removing classpath based config sources

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* switching run-time property check to INFO, instead of WARNING

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-03-26 15:19:25 +01:00
Steven Hawkins
f73a3fff79
fix: makes the configsources consistent wrt hidden properties (#38300)
also removes handling related to the - separator

closes: #37817

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-03-26 12:43:17 +01:00
Alexander Schwartz
c9b88c6bf6
Finalizing release notes and documentation for initial rolling update
Closes #38168

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2025-03-19 21:34:09 +01:00
Steven Hawkins
2aaf9ac008
fix: remove out-dated references to hostname v1 properties (#38255)
closes: #38253

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-03-19 15:05:40 +00:00
Steven Hawkins
6bb33f20d0
allowing wildcards only at the end of keys to allow for other characters (#38231)
* shows wildcard handling only at the end of keys

closes: #37772

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* fix: allow for additional wildcard key characters

also refine the wildcard logic to be based upon just prefix and suffix
matching

closes: #37772

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* Update quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/mappers/WildcardPropertyMapper.java

Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>

* review refinements, mainly to use Optional

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
2025-03-19 10:24:57 -04:00
Steven Hawkins
4c7d6f954f
fix: remove propertymapper lookup by cli and env key (#38178)
closes: #38072

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-03-18 11:29:07 +01:00
Pedro Ruivo
46bbe073fb
SPI for compatibility metadata
Closes #36786

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2025-03-17 16:48:24 +00:00
Steven Hawkins
2dd783c9c6
refinement of propertymapperinterceptor names (#37504)
* fix: generalizing the reporting of names by property mapping

closes: #37503 #37781 #37780

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* Update quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/configuration/NestedPropertyMappingInterceptor.java

Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>

* adding more explanation of going from a parent to wildcard values

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* refining the nested logic and comments

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* preventing nested expressions from always resolving the mapped value

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
2025-03-17 12:48:51 +01:00
Md. Sumon Islam
b8e85432a8
Fix: kc.home.dir by adding a trailing slash to the path (#37677)
closes: #37675

Signed-off-by: Md. Sumon Islam <sumonst21@gmail.com>
2025-03-17 07:45:34 -04:00
Steven Hawkins
f69261daad
fix: turning off default picocli behavior we don't want (#38070)
closes: #38065

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-03-14 10:20:26 +01:00
Steven Hawkins
d9c3511fa5
fix: adding a check if the proxy is trusted prior to using a cert header (#37465)
closes: #35861

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
2025-03-12 11:21:33 +01:00
Martin Bartoš
a04d3ec57f
Accept deprecated Hibernate datasource settings property (#37685)
Fixes #37656

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-03-12 10:23:27 +01:00
Steven Hawkins
47a750dd05
fix: ensure the https truststore type transforms correctly (#37971)
closes: #37944

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-03-11 12:52:45 +01:00
Ricardo Martin
6751c8cb35
Include JNA dependency for the SSSD in the keycloak server (#37905)
Closes #37898

Signed-off-by: rmartinc <rmartinc@redhat.com>
2025-03-07 11:56:33 -05:00
Pedro Ruivo
5efb7cf76e
Make JGroups with TLS startup more robust
Fixes #37887

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2025-03-07 08:21:53 +01:00
Alexander Schwartz
bc7ec1208e
Enable the TLS based JGroups encryption by default and update the docs
Closes #37696

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2025-03-03 10:50:51 -03:00
Pedro Ruivo
f7e21af82e
JGroups certificate rotation
Closes #37316

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2025-02-27 12:56:18 +01:00
Martin Bartoš
6f0ed46404
Upgrade to Quarkus 3.19.0.CR1 (#37492)
Closes #37436

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-02-24 19:52:01 +01:00
Steven Hawkins
a819a213f9
fix: hardening to prevent usage of proxy-protocol with proxy-headers (#37463)
* fix: hardening to prevent usage of proxy-protocol with proxy-headers

closes: #37458

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* Update docs/guides/server/reverseproxy.adoc

Co-authored-by: Martin Bartoš <mabartos@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
2025-02-24 14:48:06 +01:00
Steven Hawkins
5e61b03b8e
fix: allow ignored artifacts to find the default (#37498)
closes: #37128

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-02-20 14:51:27 +01:00
Michal Hajas
8cd97ddb21
Make event metrics supported (#37391)
* Make event metrics supported

Closes #37389

Signed-off-by: Michal Hajas <mhajas@redhat.com>

* Address comments from reviews

Signed-off-by: Michal Hajas <mhajas@redhat.com>

---------

Signed-off-by: Michal Hajas <mhajas@redhat.com>
2025-02-19 12:20:15 +01:00
Martin Bartoš
61e48f1cd3
Properties mapped in our property mappers are overriden (#37265)
Fixes #36927

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-02-17 16:39:51 +00:00
Václav Muzikář
764ca50fc4
Upgrade to Quarkus 3.18.2 (#37300)
* Upgrade to Quarkus 3.18.2

Closes #37056

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>

* Update docs/documentation/upgrading/topics/changes/changes-26_2_0.adoc

Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Signed-off-by: Václav Muzikář <vaclav@muzikari.cz>

---------

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
Signed-off-by: Václav Muzikář <vaclav@muzikari.cz>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2025-02-17 16:30:05 +01:00
Martin Bartoš
f41727bec2
Stabilize QuarkusPropertiesDistTest for Windows in Quarkus IT (#37091)
Closes #37089

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Co-authored-by: Steven Hawkins <shawkins@redhat.com>
2025-02-14 17:52:35 +01:00
Martin Bartoš
7fa4bd550c
Test logs for Quarkus IT are huge and cannot be viewed (#37088)
Closes #37087

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-02-14 17:50:27 +01:00
Pedro Ruivo
70e2a28ff9
Create CA certificate for JGroups encryption
Closes #36750

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
Signed-off-by: Pedro Ruivo <pruivo@users.noreply.github.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2025-02-13 10:32:43 +00:00
Stian Thorgersen
66a7151bb5
Prevent RawKeycloakDistribution from resulting in hard to debug message (#37278)
Closes #37002

Signed-off-by: stianst <stianst@gmail.com>
2025-02-12 09:46:47 +00:00
Martin Bartoš
fe40730aed
Invalid migration export for empty database
Fixes #32535

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-02-11 09:24:53 +01:00
Pedro Ruivo
c650984267
Operator: automatic upgrade strategy
Closes #36748

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2025-02-10 18:54:14 +01:00
Martin Bartoš
491b7861ed
[PERF] Determine whether OS is Windows
Closes #33953

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-02-10 17:31:26 +01:00