14946 Commits

Author SHA1 Message Date
Bruno Oliveira da Silva
7e767af26a Update to Quarkus 2.13.6.Final
Resolves #16084
2022-12-22 03:04:50 -08:00
Peter Zaoral
7e206a4be0 Cleanup dependencies and align with Quarkus
* aligned parent POM dependency versions with the Quarkus BOM

Closes #15325

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

Conflicts:
	pom.xml
	testsuite/integration-arquillian/pom.xml
	testsuite/utils/pom.xml
2022-12-22 03:04:50 -08:00
Alexander Schwartz
6197d05a0d Disabling unstable test until further analysis is complete
Relates to #15487
2022-12-15 08:46:14 +01:00
Alexander Schwartz
daf0dee168 Disabling unstable test until further analysis is complete
Relates to #15487
2022-12-15 08:46:14 +01:00
Václav Muzikář
e01e25f823 Update to Quarkus 2.13.5 2022-12-14 07:53:45 -03:00
Michal Hajas
7ad4074f7f Ignore test until the intermittent failure from #14917 is resolved 2022-12-13 16:15:20 +01:00
Stian Thorgersen
da8d616163
Sync commits (#15981)
* Avoid path traversal vis double-url encoding of redirect URI (#8)

(cherry picked from commit a2128fb9e940d96c2f9a64edcd4fbcc768eedb4f)

* Do not resolve user session if corresponding auth session does not exist (#7)

* Stabilizing the ConcurrentLoginTest when running with JPA map storage by locking user sessions (#9)

Co-authored-by: Marek Posolda <mposolda@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2022-12-13 14:34:50 +01:00
Stian Thorgersen
10813dbbff Fix OpenshiftClientStorageTest.testCodeGrantFlowWithServiceAccountUsingOAuthRedirectReference (#15741)
Closes #15565
2022-12-12 09:28:56 +01:00
douph1
ac29cbc65d Use org.keycloak.common.util.Base64Url to encode/decode clientID
fix #15734
    related #10227 #10231
2022-12-08 13:09:42 +01:00
Alexander Schwartz
57cbea6e14 Use LOB handling query to select clients on Oracle
Closes #15639
2022-12-06 09:06:20 +01:00
Alexander Schwartz
7b6ddce4c4 Make tests run on Oracle DB on the internal pipeline
Closes #15643
2022-11-24 14:20:51 +01:00
Alexander Schwartz
43a3fed8b7 Fix query to work on OracleDB CLOB
Closes #15528
2022-11-24 14:01:13 +01:00
Stian Thorgersen
3b06c097b6
Stop adding .v2 to default theme if set in server config (#15501)
Closes #15392
2022-11-18 07:56:50 +01:00
Jon Koops
f87a499c33
Backport fixes from profile refactor (#15495) 2022-11-15 09:29:26 +01:00
Václav Muzikář
37e72068da Fix race condition while updating Secrets labels in Operator 2022-11-08 08:47:41 +01:00
Stian Thorgersen
1ce61943a6
Upgrade Bouncycastle from 1.68 to 1.70 (#14198) (#15379)
* Upgrade Bouncycastle to 1.70

* Update pom.xml

* Update pom.xml

Co-authored-by: Stian Thorgersen <stianst@gmail.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>

Co-authored-by: Brendon Vicente <48719973+Bredstone@users.noreply.github.com>
2022-11-07 20:45:04 +01:00
Alexander Schwartz
5843c811bf
Use RESOURCE_LOCAL transactions for JPA map storage (#15315)
Closes #15248
2022-11-07 19:18:04 +01:00
Stian Thorgersen
6bab737e85
Fix classpath separator for windows startup script (#15300) (#15377)
Closes #15281

Co-authored-by: Stian Thorgersen <stianst@gmail.com>

Co-authored-by: Fouad Almalki <me@fouad.io>
2022-11-07 16:52:02 +01:00
Alexander Schwartz
717f65621e
Allow a partial import to overwrite the default role (#15316)
Closes #9891
2022-11-07 15:06:46 +01:00
Pedro Igor
f6985949b6
Close the session within resteasy boundaries (#15193)
Closes #15192
2022-11-01 11:06:34 +01:00
Stian Thorgersen
17117820cc
Remove AccountFormServiceTest (#15197)
Closes #15196
2022-10-28 12:26:59 +02:00
Lex Cao
43a3677cc7 Fix slow deletion on deleteClientSessionsByRealm and deleteClientSessionsByUser when using mysql and mariadb by converting sub-query to join 2022-10-27 10:37:15 +02:00
Alexander Schwartz
9fb9780f02 Don't rely on DefaultModeLCriteria in equals/hashCode
Instead, map this to JPA query and then create the cache lookup key from there.

Closes #14938
2022-10-26 15:49:26 +02:00
Alexander Schwartz
e494649a4e First naïve per-session caching for JPA map store
Closes #14938
2022-10-26 15:49:26 +02:00
Peter Skopek
8f9c3cdeab SAML adapter is missing "crypto/default" module (#15146)
Closes #15146
2022-10-26 11:59:56 +02:00
Václav Muzikář
6dc2119e20 Exclude operator module by default 2022-10-25 15:55:11 +02:00
Master_Sky
164465861b
fix(sec): upgrade org.apache.tomcat:tomcat-catalina to 8.5.76 (#14950)
Co-authored-by: stianst <stianst@gmail.com>
2022-10-25 09:30:28 -03:00
Michal Hajas
883e83e625 Remove deprecated methods from data providers and models
Closes #14720
2022-10-25 09:01:33 +02:00
Martin Bartoš
d9c96b9432
Replace ::set-output with environment variables in GHA CI (#15078)
Closes #15077
2022-10-25 08:58:34 +02:00
Jon Koops
3d6c0690ef
Restore labels for supported applications under 'OTP Policy' tab (#15117) 2022-10-25 07:34:19 +02:00
Alexander Schwartz
3a30061c44 Avoid deadlock on CockroachDB when removing authentication sessions
Closes #14991
2022-10-24 20:42:31 +02:00
Alexander Schwartz
9b80bad391 Stabilize test testAccountManagementLinkIdentity by waiting for username to appear
Closes #15054
2022-10-24 19:19:27 +02:00
Bruno Oliveira da Silva
ec73533895 Upgrade to Quarkus 2.13.3
Resolves #15032
Resolves #14785
Resolves #14833
2022-10-24 12:40:24 -03:00
Stian Thorgersen
29b8294dd6
Filter list of supported OTP applications by current policy (#15113)
Closes #15112
2022-10-24 16:47:16 +02:00
Václav Muzikář
71d9b16717 Update Operator docs to reflect Keycloak CR changes 2022-10-24 16:05:00 +02:00
Stian Thorgersen
89da96cc63
Update bug issue form adding affected area, and making more field required (#15105) 2022-10-24 10:49:12 +02:00
Pedro Igor
712656765e Authz client not updated with the way of encoding the basic header
Closes #15086
2022-10-24 08:45:30 +02:00
mposolda
55c514ad56 More flexibility in keystore related tests, Make keycloak to notify which keystore types it supports, Support for BCFKS
Closes #14964
2022-10-24 08:36:37 +02:00
Václav Muzikář
5ebb6e9c10 Mark Operator as stable in the OLM bundle 2022-10-24 08:08:24 +02:00
Pedro Igor
1fe3ce79eb Change the title of the Keycloak Truststore guide to make the intent more clear
Closes #14960

Co-authored-by: Stian Thorgersen <stian@redhat.com>
2022-10-21 16:31:41 -03:00
Pedro Igor
dfb2bd144b Fixing commands in the database guide
Closes #14940
2022-10-21 16:08:37 -03:00
Václav Muzikář
a30b427a96 Update Quarkus Operator SDK to 4.0.4 2022-10-21 15:58:31 -03:00
vramik
791c457c32 Add possibility to limit field length in legacy event store
Closes #14888
2022-10-21 15:16:26 +02:00
Alexander Schwartz
440077de42 Reduce number of calls to the storage for clients and realms
Closes #15038
2022-10-21 15:08:39 +02:00
Andre Nascimento RH
d12aef0b43
Rename free-form field from 'serverConfiguration' to 'additionalOptions' in Keycloak CR. 2022-10-21 14:41:02 +02:00
Martin Bartoš
24acc4c7d1 Add hostname options to Keycloak CR
Closes #14395

Co-authored-by: Václav Muzikář <vmuzikar@redhat.com>
2022-10-21 11:00:42 +02:00
Stefan Guilhen
acaf1724dd Fix ComponentsTest failures with CockroachDB
- Component addition/edition/removal is now executed in a retriable transaction.

Closes #13209
2022-10-21 10:48:08 +02:00
Alexander Schwartz
1059b3a837
Log errors when welcome page can't be shown on Quarkus (#14995)
Closes #14994
2022-10-21 07:38:33 +02:00
Pedro Igor
2d55e1dab7 Add DB options to Keycloak CR
Closes #14374

Co-authored-by: Martin Bartoš <mabartos@redhat.com>
2022-10-20 21:21:00 +02:00
Bruno Oliveira da Silva
e712cd6a0e Suppress Snyk alerts related with Netty
Resolves #15066
2022-10-20 12:44:37 -03:00