Ryan Emerson
f8f561a435
Check cluster is correctly formed in ClusteredKeycloakServer
...
Closes #40858
Signed-off-by: Ryan Emerson <remerson@redhat.com >
Co-authored-by: Pedro Ruivo <pruivo@users.noreply.github.com >
2025-07-04 09:12:51 +00:00
Ryan Emerson
9543008899
Create clustering test cases for OIDC flows ( #40623 )
...
Closes #39965
Signed-off-by: Ryan Emerson <remerson@redhat.com >
Signed-off-by: Michal Hajas <mhajas@redhat.com >
Co-authored-by: Michal Hajas <mhajas@redhat.com >
2025-06-25 15:06:10 +02:00
Michal Hajas
d2f4635ea0
Add clustering tests to new test framework
...
Closes #39962
Signed-off-by: Michal Hajas <mhajas@redhat.com >
Co-authored-by: Pedro Ruivo <pruivo@redhat.com >
2025-06-13 20:26:07 +02:00
Steven Hawkins
f40cb88db4
fix: removing KeycloakApplication usage of keycloak-add-user.json ( #39460 )
...
* fix: removing KeycloakApplication usage of keycloak-add-user.json
closes:#39428
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
* Removing the test keycloak-add-user.json
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
---------
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2025-05-08 07:58:09 +00:00
Simon Vacek
ba150ed0f9
Split GroupTest into multiple files
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-04-29 11:52:15 +02:00
Simon Vacek
a8e33732cd
Move AbstractGroupTest.java, GroupMappersTest.java, GroupTest.java to the new testsuite
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
# Conflicts:
# test-framework/core/src/main/java/org/keycloak/testframework/realm/RealmConfigBuilder.java
# test-framework/core/src/main/java/org/keycloak/testframework/realm/UserConfigBuilder.java
# Conflicts:
# test-framework/core/src/main/java/org/keycloak/testframework/realm/ClientConfigBuilder.java
2025-04-29 11:52:15 +02:00
Šimon Vacek
666868a08d
Move ClientTest.java to the new testsuite ( #38933 )
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-04-29 09:18:49 +02: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
Lukas Hanusovsky
f5323fec24
[Test framework] AdminConsoleWhoAmILocaleTest migration ( #38158 )
...
* Moving files to the new test suite
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
* Move AdminConsoleWhoAmILocaleTest.java, DeclarativeUserTest.java to the new testsuite
Part of: #34494
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
---------
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
2025-04-07 12:45:52 +02:00
Václav Muzikář
2a0ce46471
Prevent frontend endpoint redirect to admin endpoint ( #38464 )
...
Closes #38463
Signed-off-by: Václav Muzikář <vmuzikar@redhat.com >
2025-03-28 18:44:43 +01:00
Alexander Schwartz
83e99f7617
Set the mail.from to avoid looking up the local hostname
...
Closes #38353
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net >
2025-03-24 09:38:03 +01:00
Sebastian Rose
4fb1c41155
Sending Mails via SMTP and XOAUTH2 authentication mechanism
...
Closes #17432
Signed-off-by: Sebastian Rose <sebastian.rose@gmail.com >
2025-03-21 10:12:18 +01:00
Stian Thorgersen
d7e3d480fb
Sort test classes by server config ( #38215 )
...
Signed-off-by: stianst <stianst@gmail.com >
2025-03-20 10:41:31 +01:00
Stian Thorgersen
80e5c37969
Managed resource not injected if a dependency is incompatibl ( #38196 )
...
Closes #38193
Signed-off-by: stianst <stianst@gmail.com >
2025-03-20 08:31:03 +01:00
Stian Thorgersen
3cdb8d12ae
Updating a client with rollback in a test doesn't reset all values ( #38244 )
...
Closes #38243
Signed-off-by: stianst <stianst@gmail.com >
2025-03-19 13:44:13 +01:00
Stian Thorgersen
588cf0f6c2
Attribute added to managed test client with rollback is not removed ( #38213 )
...
Closes #38208
Signed-off-by: stianst <stianst@gmail.com >
2025-03-18 15:43:46 +01:00
Stian Thorgersen
221d21639d
Re-use HttpClient across multiple tests ( #38197 )
...
Closes #38195
Signed-off-by: stianst <stianst@gmail.com >
2025-03-18 10:04:24 +01:00
Simon Vacek
546724ddf8
Move AdminEventTest.java, LoginEventsTest.java to the new testsuite
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
# Conflicts:
# test-framework/core/src/main/java/org/keycloak/testframework/realm/RealmConfigBuilder.java
2025-03-17 12:38:57 +01:00
stianst
b2925f36e4
Add UUID matcher and check event id always
...
Signed-off-by: stianst <stianst@gmail.com >
2025-03-14 11:25:07 +01:00
Simon Vacek
e1fdd1dab6
Move ServiceAccountClientTest.java to the new testsuite
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-03-14 10:21:02 +01:00
Lukas Hanusovsky
8f0bc985f6
[Test framework] AttackDetectionResourceTest migration ( #38010 )
...
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
2025-03-13 13:50:24 +01:00
vramik
872a691757
Remove permissions and resources when their corresponding objects are deleted
...
Closes #37242
Signed-off-by: vramik <vramik@redhat.com >
2025-03-11 14:58:03 -03:00
Stian Thorgersen
7a0fcb6187
Refactor logout methods and move to AbstractOAuthClient ( #37882 )
...
Closes #37881
Signed-off-by: stianst <stianst@gmail.com >
2025-03-07 12:15:56 +01:00
Stian Thorgersen
d089e23aef
Move token introspection to AbstractOAuthClient ( #37859 )
...
Closes #37858
Signed-off-by: stianst <stianst@gmail.com >
2025-03-06 11:56:59 +01:00
Stian Thorgersen
83adc99ef7
Move doWellKnownRequest to AbstractOAuthClient ( #37830 )
...
Closes #37829
Signed-off-by: stianst <stianst@gmail.com >
2025-03-05 12:38:08 +01:00
Stian Thorgersen
ab01689aaa
Add basic TestApp to the new testsuite ( #37815 )
...
Closes #37814
Signed-off-by: stianst <stianst@gmail.com >
2025-03-04 16:59:18 +01:00
Pedro Ruivo
071e97f42f
Fixed the annotation processor path for JDK 22+ ( #37819 )
...
Fixes #37816
Signed-off-by: Pedro Ruivo <pruivo@redhat.com >
2025-03-04 15:58:31 +01:00
Šimon Vacek
ff2ce16d5f
Move DeclarativeUserTest.java to the new testsuite ( #37724 )
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-03-03 09:42:24 +01:00
Lukas Hanusovsky
f6fc5b6258
[Test framework MVP] SMTPConnectionTest + SMTPConnectionVaultTest ( #35230 )
...
* [Test framework MVP] SMTPConnectionTest - mv
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
* [Test framework MVP] SMTPConnectionTest + SMTPConnectionVaultTest
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
---------
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
2025-03-03 09:31:47 +01:00
Šimon Vacek
75b23a3450
Migrate ClientScopeTest ( #37603 )
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-03-03 08:59:11 +01:00
Stian Thorgersen
83ef1e3de0
Move verify and parse tokens to AbstractOAuthClient ( #37663 )
...
Closes #37660
Signed-off-by: stianst <stianst@gmail.com >
2025-03-03 08:51:41 +01:00
Stian Thorgersen
c22f76867f
Move doLogin to AbstractOAuthClient ( #37638 )
...
Closes #37637
Signed-off-by: stianst <stianst@gmail.com >
2025-02-26 12:34:03 +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
Stian Thorgersen
26e901357f
Move UserInfo request to AbstractOAuthClient ( #37521 )
...
Closes #37520
Signed-off-by: stianst <stianst@gmail.com >
2025-02-24 10:02:50 +01:00
Stian Thorgersen
d5de190a0d
Add OAuthClient supplier for new test framework ( #37487 )
...
Closes #37486
Signed-off-by: stianst <stianst@gmail.com >
2025-02-20 06:22:40 +01:00
Lukas Hanusovsky
4c172d99d2
[Test framework] Moving provider classes to specific package ( #37484 )
...
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
2025-02-19 11:00:36 +00:00
Šimon Vacek
40e8c0eba3
Migrate InstallationTest to the new testsuite ( #37394 )
...
* Migrate InstallationTest to the new testsuite
Signed-off-by: Simon Vacek <simonvacky@email.cz >
* Migrate InstallationTest to the new testsuite
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
* Added Client cleanup to the test framework
Signed-off-by: Simon Vacek <simonvacky@email.cz >
---------
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-02-19 08:30:22 +01: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
Šimon Vacek
2b74e6148e
Migrate ClientSearchTest to the new testsuite ( #37171 )
...
* Move ClientSearchTest.java to the new testsuite
Signed-off-by: Simon Vacek <simonvacky@email.cz >
* Move ClientSearchTest.java to the new testsuite
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
---------
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-02-17 13:17:35 +01:00
Stian Thorgersen
60b75d4b38
Migrate AuthenticatorConfigTest ( #37274 )
...
Part of #34494
Signed-off-by: stianst <stianst@gmail.com >
2025-02-14 06:33:39 +01:00
Stian Thorgersen
59acbb8f67
Remove need to implement getAnnotationClass and getValueType in suppliers ( #37296 )
...
Signed-off-by: stianst <stianst@gmail.com >
2025-02-13 15:02:26 +01:00
vramik
679f44692d
Add Groups resource type and scopes to authorization schema and evaluation implementation
...
Closes #35562
Signed-off-by: vramik <vramik@redhat.com >
2025-02-12 10:07:09 -03:00
Šimon Vacek
f5470716fe
Migrate EventConfigTest to the new testsuite ( #37092 )
...
* Move EventConfigTest.java to the new testsuite
Signed-off-by: Simon Vacek <simonvacky@email.cz >
* Move EventConfigTest.java to the new testsuite
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
---------
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-02-12 07:20:53 +01:00
Stian Thorgersen
b8c1cd410f
Support for running code on the server for tests ( #37210 )
...
Closes #34190
Signed-off-by: stianst <stianst@gmail.com >
2025-02-11 14:08:02 +01:00
Stian Thorgersen
b7b84d75d1
Add factory to create custom admin clients ( #37125 )
...
Closes #36608
Signed-off-by: stianst <stianst@gmail.com >
Co-authored-by: Simon Vacek <simonvacky@email.cz >
2025-02-10 12:51:56 +01:00
Stian Thorgersen
19cabe8238
Migrate tests from org/keycloak/tests/admin/authentication to new framework ( #37003 )
...
* Migrate tests from org/keycloak/tests/admin/authentication to new framework
Part of #34494
Signed-off-by: stianst <stianst@gmail.com >
* Update tests/MIGRATING_TESTS.md
Signed-off-by: Stian Thorgersen <stian@redhat.com >
---------
Signed-off-by: stianst <stianst@gmail.com >
Signed-off-by: Stian Thorgersen <stian@redhat.com >
2025-02-06 10:24:50 +01:00
Pedro Ruivo
beb20dc425
Add default configuration for cache 'crl'
...
Fixes #36752
Signed-off-by: Pedro Ruivo <pruivo@redhat.com >
Signed-off-by: Michal Hajas <mhajas@redhat.com >
Signed-off-by: Pedro Ruivo <pruivo@users.noreply.github.com >
Co-authored-by: Michal Hajas <mhajas@redhat.com >
Co-authored-by: Stian Thorgersen <stian@redhat.com >
2025-02-03 09:53:31 +01:00
Šimon Vacek
d522fd265d
Rename .env-test to .env.test ( #36975 )
...
Closes : #36974
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-02-03 07:41:56 +01:00
Stian Thorgersen
c188a6c1d9
Add config options for suppliers and option to enable debugging for server dist ( #36912 )
...
Closes #31141 , closes #36775
Signed-off-by: stianst <stianst@gmail.com >
2025-01-29 14:25:50 +01:00
Stian Thorgersen
5b93c3c3ce
Add assertions util for admin events ( #36778 )
...
Closes #36685
Signed-off-by: stianst <stianst@gmail.com >
2025-01-28 12:40:16 +01:00