Commit Graph

975 Commits

Author SHA1 Message Date
Stefan Guilhen
484980dbbe Add API method to allow activating a workflow for all eligible resources
Closes #44643

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2025-12-08 09:45:45 -03:00
Stefan Guilhen
65ab7f541d Add API method that fetches the scheduled workflow steps for a resource
Closes #43660

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2025-12-03 11:09:55 -03:00
Alexis Rico
b0b38176f0 Manage Organization Invites
Closes #38809

Signed-off-by: Alexis Rico <sferadev@gmail.com>
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-11-27 10:28:52 +01:00
Stefan Guilhen
3319e8d9b5 Add optional parameter in WorkflowResource.toRepresentation to allow retrieval of the rep without the ids
Closes #44183

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2025-11-14 12:20:40 -03:00
Stian Thorgersen
a2c1055f8d Proposed import order (#43432)
* Add importOrder to Spotless

Closes #43235

Signed-off-by: stianst <stianst@gmail.com>

* Re-order imports with Spotless

Signed-off-by: stianst <stianst@gmail.com>

---------

Signed-off-by: stianst <stianst@gmail.com>
2025-11-14 09:34:49 +01:00
Vlasta Ramik
d2697232b9 Rename bind endpoint to activate
Closes #44155

Signed-off-by: vramik <vramik@redhat.com>
2025-11-13 22:15:33 +01:00
Stefan Guilhen
da7993896d Allow ISO-8601 compatible format for the after field in workflow steps
- aligns the format with what is used in the JPA connection provider pool max lifetime for time-based configurations

Closes #42913

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2025-11-12 18:51:49 -03:00
Stefan Guilhen
7acf2ceccb Add pagination and search by name capabilities to WorkflowsResource
Closes #44164

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2025-11-12 17:18:11 -03:00
vramik
84a679224b Add operation to deactivate a workflow execution for a resource
Closes #42124

Signed-off-by: vramik <vramik@redhat.com>
2025-11-12 17:02:17 -03:00
Stian Thorgersen
d8275fe5df Remove wildcard imports (#44060)
Closes #44059

Signed-off-by: stianst <stianst@gmail.com>
2025-11-10 11:46:05 +01:00
vramik
4d912a9c21 Support for YAML payloads for Admin client for creation of workflows
Closes #43666

Signed-off-by: vramik <vramik@redhat.com>
2025-11-03 13:09:17 -03:00
Stian Thorgersen
1048c8d9c9 Filter out non-user authentication IdPs from account and login (#43798)
Closes #43553

Signed-off-by: stianst <stianst@gmail.com>
2025-10-31 12:40:04 +01:00
Tomáš Kyjovský
4c64b7189c Deprecate org.keycloak.common.util.Base64
Closes #43370

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Signed-off-by: 1867605+tkyjovsk@users.noreply.github.com
Co-authored-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-30 09:12:14 +01:00
Steven Hawkins
6d93df8cad fix: using RFC6749 for kcadm / kcreg
closes: #43532

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-10-16 16:52:51 +00:00
Stefan Guilhen
652270302d Workflows code cleanup
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2025-10-13 09:53:30 -03:00
stianst
aedd7fe5db Remove unused imports as part of #43233
Signed-off-by: stianst <stianst@gmail.com>
2025-10-13 13:32:01 +02:00
Steven Hawkins
817c78f0d9 fix: adds error handling for common redirect codes (#43276)
closes: #31401

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-10-08 08:55:07 +02:00
mposolda
bb34b80174 Update javadoc of java admin-client for Keycloak 26.4
closes #42468

Signed-off-by: mposolda <mposolda@gmail.com>
2025-09-24 20:49:23 +02:00
Pedro Igor
fe8fce859d Improve the Workflow JSON schema
Closes #42697

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-09-24 04:04:44 -03:00
Martin Kanis
7ae9ebb467 [RLM] Allow adding and removing actions to existing policies
Closes #42384

Signed-off-by: Martin Kanis <mkanis@redhat.com>
2025-09-18 12:13:13 -03:00
vramik
d0e83cc05e Rename RLM to Workflows
Closes #42512

Signed-off-by: vramik <vramik@redhat.com>
2025-09-16 08:52:50 -03:00
Pedro Igor
0d5dfc3eae Add support for ad-hoc policies (#42508)
Closes #42126

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-09-10 15:40:17 +00:00
Steven Hawkins
05c7c625d3 fix: don't show the local access screen if a service account exists (#42218)
closes: #42201

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-09-05 18:22:31 +02:00
mposolda
624d236ced DPoP verification support for admin/account REST API endpoints. Java admin-client DPoP support
closes #33942

Signed-off-by: mposolda <mposolda@gmail.com>
2025-09-02 14:29:30 +02:00
Pedro Igor
a64c5c0d70 Adding RLM Admin API and basic endpoints
Closes #40346

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-08-28 14:49:21 -03:00
Steven Hawkins
2ce3474ed5 fix: addressing possible npes (#41944)
close: #40659

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-08-18 23:51:17 +02:00
Steven Hawkins
fdca122469 fix: ensuring streams are closed
closes: #40660

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-08-15 07:40:54 +02:00
Akbar Husain
06f80416fb Replace keySet with entrySet
Closes #40064

Signed-off-by: akbarhusainpatel <apatel@intermiles.com>
Co-authored-by: akbarhusainpatel <apatel@intermiles.com>
2025-08-14 17:31:15 +02:00
Peter Skopek
651d651c30 Add missing artifact descriptions to allow Maven Central Portal Publisher pass validation process. (#40822)
Signed-off-by: Peter Skopek <pskopek@redhat.com>
2025-08-12 16:50:17 +02:00
Barathwaja S
81a7f38a76 Added emailVerified filtering for users endpoint; updated user count endpoint with logic to support enabled, emailVerified, idpAlias, idpUserId, and exact field query parameters
Closes #38556
Closes #29295

Signed-off-by: Barathwaja S <sbarathwaj4@gmail.com>
2025-07-03 17:05:36 -03:00
Michael-AT-Corporation
ff9e7c2371 Added new searchByAttributes function to UsersResource with the exact parameter
Closes #39609

Signed-off-by: Michael-AT-Corporation <michael-hu@ooutlook.de>
2025-07-03 13:51:46 -03:00
mposolda
daba8ad53f Improve javadoc for admin-client methods with injecting own resteasyClient
closes #40231

Signed-off-by: mposolda <mposolda@gmail.com>
2025-07-01 14:53:28 +02:00
Douglas Palmer
a981f6b6d5 Access Token IDs have less than 128 bits of entropy
Closes #38663

Signed-off-by: Douglas Palmer <dpalmer@redhat.com>
2025-06-26 16:48:03 +02:00
mposolda
f8ed0f9a5d Update javadoc of java admin-client for Keycloak 26.3
closes #40709

Signed-off-by: mposolda <mposolda@gmail.com>
2025-06-25 13:16:49 +02:00
Douglas Palmer
1183157d86 Key generation for client authentication is always RSA 2048 with a 10-year validity, regardless of the selected algorithm
Closes #38620

Signed-off-by: Douglas Palmer <dpalmer@redhat.com>
2025-06-25 08:15:43 +02:00
Alexis Rico
d4eec2ad32 Add briefRepresentation to get organizations from user
Allow asking for the full representation in `GET /admin/realms/{realm}/organizations/members/{member-id}/organizations`

Closes #40438

Signed-off-by: Alexis Rico <sferadev@gmail.com>
2025-06-16 18:05:35 +00:00
Pedro Igor
b22b1f298c Adding parameter to control whether the count of subgroups of subgroups should be returned
Closes #39668

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-05-22 11:15:38 -03:00
Giuseppe Graziano
5505f26cf8 Persistent user session for client scopes evaluate function
Closes #37202

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2025-05-16 12:50:37 +02:00
Peter Tóth
c6e1878087 Add organizations count endpoint
Closes #38262

Signed-off-by: Péter Tóth <tothp@sztaki.hu>
2025-04-14 19:44:44 +00:00
mposolda
bb4837d007 Update javadoc of java admin-client for Keycloak 26.2
closes #38398

Signed-off-by: mposolda <mposolda@gmail.com>
2025-03-25 10:55:43 +01:00
Ricardo Martin
9cc847b5ad Logout session when closing the keycloak client
Closes #22215

Signed-off-by: rmartinc <rmartinc@redhat.com>
2025-03-18 08:42:18 +01: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
Stefan Guilhen
5babc6c1a3 Ensure the group being joined is not an organization group in GroupLDAPStorageMapper
Closes #37393

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2025-02-17 14:41:53 -03:00
Olivier Boudet
3777a0d976 fix javadoc
Signed-off-by: Olivier Boudet <o.boudet@gmail.com>
2025-02-04 08:52:35 -03:00
rmartinc
6cf92d9dc7 Add crl cache to certificate validation
Closes #26473

Signed-off-by: rmartinc <rmartinc@redhat.com>
2025-01-22 14:58:35 +01:00
Stian Thorgersen
fc2b9018f1 Extend REST API for login and admin events to support sync scenarios (#36601)
Closes #36600

Signed-off-by: stianst <stianst@gmail.com>
2025-01-20 14:32:55 +01:00
mposolda
fd1e82f05d Polishing of CreatedResponseUtil.getCreatedId
closes #36557

Signed-off-by: mposolda <mposolda@gmail.com>
2025-01-17 13:23:24 +01:00
Thomas Darimont
d94e388047 CreatedResponseUtil.getCreatedId should expose server error message (#34343)
We now expose the actual error message found in the response if present.

Fixes #34343

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2025-01-16 14:33:50 +01:00
vramik
0a632fdefa [FGAP] Add adminPermissionClientCheck to authorization services REST endpoints
Closes #35945

Signed-off-by: vramik <vramik@redhat.com>
2025-01-10 08:56:48 -03:00
Marek Posolda
0d8a23b684 Incompatible method of admin-client in Keycloak 26.1 and missing javadoc (#36091)
closes #36090

Signed-off-by: mposolda <mposolda@gmail.com>
2024-12-20 16:35:51 +01:00