Stian Thorgersen
109db4fe7d
Remove @NoCache annotation in admin client interfaces ( #32795 )
...
Closes #32731
Signed-off-by: stianst <stianst@gmail.com >
(cherry picked from commit e140e71a52 )
2024-09-11 15:15:34 +02:00
Steven Hawkins
efc8603438
fix: addresses cli erroneously wants a secret when env password is set ( #30892 ) ( #30978 )
...
closes : #30866
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
(cherry picked from commit aae1fa1417 )
2024-07-02 11:04:20 +02:00
Steven Hawkins
c7e9ee2bff
fix: adds handling for all kcadm prompts as env variables ( #29430 )
...
closes : #21961
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2024-06-06 13:08:23 +00:00
rmartinc
536534dd25
Remove the transformed output directory before executing JakartaTransformer
...
Closes #30086
Signed-off-by: rmartinc <rmartinc@redhat.com >
2024-06-03 19:03:46 +02:00
Martin Bartoš
262fc09edc
OpenJDK 21 support ( #28518 )
...
* OpenJDK 21 support
Closes #28517
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz >
Signed-off-by: Martin Bartoš <mabartos@redhat.com >
* x509 SAN UPN other name is not handled in JDK 21 (#904 )
closes #29968
Signed-off-by: mposolda <mposolda@gmail.com >
---------
Signed-off-by: Martin Bartoš <mabartos@redhat.com >
Signed-off-by: mposolda <mposolda@gmail.com >
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz >
Co-authored-by: Marek Posolda <mposolda@gmail.com >
2024-06-03 14:17:28 +02:00
Andrejs Mivreniks
1cf87407fe
Allow setting authentication flow execution priority value via Admin API
...
Closes #20747
Signed-off-by: Andrejs Mivreniks <andrejs@fastmail.com >
2024-05-30 19:17:45 +02:00
Erik Jan de Wit
f088b0009c
initial ui for organizations ( #29643 )
...
* initial screen
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* more screens
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* added members tab
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* added the backend
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* added member add / invite models
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* initial version of the identity provider section
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* add link and unlink providers
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* small fix
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* PR comments
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Do not validate broker domain when the domain is an empty string
Closes #29759
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* added filter and value
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* added test
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* added first name last name
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* refresh menu when realm organization is changed
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* changed to record
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* changed to form data
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* fixed lint error
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Changing name of invitation parameters
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Chancing name of parameters on the client
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Enable organization at the realm before running tests
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Domain help message
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Handling model validation errors when creating organizations
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Message key for organizationDetails
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Do not change kc.org attribute on group
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* add realm into the context
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* tests
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Changing button in invitation model to use Send instead of Save
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Better message when validating the organization domain
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* Fixing compilation error after rebase
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* fixed test
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* removed wait as it no longer required and skip flacky test
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* skip tests that are flaky
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
* stabilize user create test
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
---------
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com >
2024-05-29 14:34:02 +02:00
Thomas Darimont
ab376d9101
Make required actions configurable ( #28400 )
...
- Add tests for crud operations on configurable required actions
- Add support exposing the required action configuration via RequiredActionContext
- Make configSaveError message reusable in other contexts
- Introduced admin-ui specific endpoint for retrieving required actions with config metadata
Fixes #28400
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com >
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
2024-05-23 08:38:36 +02:00
Pedro Igor
b019cf6129
Support unmanaged attributes for service accounts and make sure they are only managed through the admin api
...
Closes #29362
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
2024-05-21 16:56:18 -03:00
Martin Kanis
97cd5f3b8d
Provide an additional endpoint to allow sending both invitation and registration links depending on the email being associated with an user or not
...
Closes #29482
Signed-off-by: Martin Kanis <mkanis@redhat.com >
2024-05-21 12:29:10 -03:00
Dimitri Papadopoulos Orfanos
64a145e960
Fix user-facing typos in error messages ( #29326 )
...
Update resource file and tests accordingly
Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com >
2024-05-16 09:55:41 +02:00
Alexander Schwartz
fee7503107
Clean generated files for the admin Java client
...
Closes #29525
Signed-off-by: Alexander Schwartz <aschwart@redhat.com >
2024-05-15 09:34:46 +02:00
Stefan Guilhen
ceed7bc120
Add ability to search organizations by attribute
...
Closes #29411
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com >
2024-05-10 16:45:41 -03:00
Pedro Igor
c0325c9fdb
Do not manage brokers through the Organization API
...
Closes #29268
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
2024-05-07 09:15:25 -03:00
Pedro Igor
158162fb4f
Review tests and having invitation related operations in a separate class
...
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
2024-05-06 17:57:13 -03:00
Pedro Igor
e0bdb42d41
adding test and minor updates to cover inviting existing users
...
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
2024-05-06 17:57:13 -03:00
Dimitri Papadopoulos Orfanos
cd8e0fd333
Fix user-facing typos in Javadoc ( #28971 )
...
Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com >
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
2024-05-06 18:57:55 +00:00
Pedro Igor
32d25f43d0
Support for mutiple identity providers
...
Closes #28840
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
2024-05-04 16:19:27 +02:00
Steven Hawkins
3b1ca46be2
fix: updating docs around -q parameter ( #29151 )
...
closes : #27877
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2024-05-02 16:48:43 +02:00
Stefan Guilhen
45e5e6cbbf
Introduce filtered (and paginated) search for organization members
...
Closes #28844
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com >
2024-05-02 11:25:43 -03:00
Pedro Igor
51352622aa
Allow adding realm users as an organization member
...
Closes #29023
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
2024-04-29 08:37:47 -03:00
Steven Hawkins
f42185b319
task: combine the kcreg and kcadmin modules ( #28918 )
...
closes #28904
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2024-04-25 18:08:45 +00:00
Stefan Guilhen
bfabc291cc
28843 - Introduce filtered (and paginated) searches for organizations
...
Closes #28843
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com >
2024-04-25 12:38:20 -03:00
Stefan Guilhen
8fa2890f68
28818 - Reintroduce search by name for subgroups
...
Closes #28818
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com >
2024-04-25 12:06:07 -03:00
Steven Hawkins
9486432f3f
fix: removing httpclient override ( #28304 )
...
we need to have a dependency on commons-logging-jboss-logging
closes : #21392
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2024-04-23 10:09:06 +02:00
Mark Banierink
ad32896725
replaced and removed deprecated token methods ( #27715 )
...
closes #19671
Signed-off-by: Mark Banierink <mark.banierink@nedap.com >
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com >
2024-04-23 09:23:37 +02:00
Steve Hawkins
0be34d64e7
task: refactor overlap between cli clients
...
also repackaging to more clearly delineate code roles
closes : #28329
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2024-04-18 17:39:16 -03:00
Steven Hawkins
58398d1f69
fix: replaces aesh with picocli ( #28276 )
...
* fix: replaces aesh with picocli
closes : #28275
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
* fix: replaces aesh with picocli
closes : #28275
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
---------
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2024-04-15 13:04:58 +00:00
Stefan Guilhen
9a466f90ab
Add ability to set one or more internet domain to an organization.
...
Closed #28274
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com >
2024-04-10 13:18:12 -03:00
vramik
00ce3e34bd
Manage a single identity provider for an organization
...
Closes #28272
Signed-off-by: vramik <vramik@redhat.com >
2024-04-10 09:47:51 -03:00
rmartinc
41b706bb6a
Initial security profile SPI to integrate default client policies
...
Closes #27189
Signed-off-by: rmartinc <rmartinc@redhat.com >
2024-04-10 11:19:56 +02:00
vibrown
3fffc5182e
Added ClientType implementation from Marek's prototype
...
Signed-off-by: vibrown <vibrown@redhat.com >
More updates
Signed-off-by: vibrown <vibrown@redhat.com >
Added client type logic from Marek's prototype
Signed-off-by: vibrown <vibrown@redhat.com >
updates
Signed-off-by: vibrown <vibrown@redhat.com >
updates
Signed-off-by: vibrown <vibrown@redhat.com >
updates
Signed-off-by: vibrown <vibrown@redhat.com >
Testing to see if skipRestart was cause of test failures in MR
2024-04-08 20:20:37 +02:00
MNaaz
811c70d136
Support for searching users based on search filter, enabled attribute, first, max Closes #27241
...
Signed-off-by: MNaaz <feminity2001@yahoo.com >
2024-04-05 12:10:15 -03:00
Steven Hawkins
e9ad9d0564
fix: replace aesh with picocli ( #27458 )
...
* fix: replace aesh with picocli
closes : #27388
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
* Update integration/client-cli/admin-cli/src/main/java/org/keycloak/client/admin/cli/commands/AbstractRequestCmd.java
Co-authored-by: Martin Bartoš <mabartos@redhat.com >
* splitting the error handling for password input
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
* adding a change note about kcadm
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
* Update docs/documentation/upgrading/topics/changes/changes-25_0_0.adoc
Co-authored-by: Martin Bartoš <mabartos@redhat.com >
---------
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
Co-authored-by: Martin Bartoš <mabartos@redhat.com >
2024-03-28 14:34:06 +01:00
Steven Hawkins
619775b8db
fix: simplifies the parsing routine, which accounts for leading 0's ( #28102 )
...
closes : #27839
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2024-03-22 09:19:52 +01:00
Pedro Igor
32541f19a3
Allow managing members for an organization
...
Closes #27934
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
2024-03-21 10:26:30 -03:00
Martin Kanis
4154d27941
Invalidating offline token is not working from client sessions tab
...
Closes #27275
Signed-off-by: Martin Kanis <mkanis@redhat.com >
2024-03-21 09:04:58 -03:00
Pedro Igor
7fc2269ba5
The bare minimum implementation for organization
...
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Co-authored-by: vramik <vramik@redhat.com >
2024-03-15 11:06:43 -03:00
mposolda
e7ff12e010
Remove hardcoded references to jakarta package from JEE admin client
...
closes #27609
Signed-off-by: mposolda <mposolda@gmail.com >
2024-03-07 08:26:23 +01:00
Steven Hawkins
51590668f5
fix: provide a better error message when option parsing fails ( #27354 )
...
closes : #16260
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2024-02-29 08:22:21 -05:00
Lex Cao
47f7e3e8f1
Use email verification instead of executing action for send-verify-email endpoint
...
Closes #15190
Add support for `send-verify-email` endpoint to use the `email-verification.ftl` instead of `executeActions.ftl`
Also introduce a new parameter `lifespan` to be able to override the default lifespan value (12 hours)
Signed-off-by: Lex Cao <lexcao@foxmail.com >
2024-01-11 16:28:02 -03:00
Steven Hawkins
ec28b68554
fix: improve group matching ( #25627 )
...
closes #25451
Signed-off-by: Steve Hawkins <shawkins@redhat.com >
2023-12-18 11:46:02 +01:00
Peter Zaoral
340eb99412
Unable to use < as part of a password (admin-cli) ( #24939 )
...
* escaped angle bracket characters in password
Closes #21951
Signed-off-by: Peter Zaoral <pzaoral@redhat.com >
2023-12-06 17:27:44 +01:00
rmartinc
16afecd6b4
Allow automatic download of SAML certificates in the identity provider
...
Closes https://github.com/keycloak/keycloak/issues/24424
Signed-off-by: rmartinc <rmartinc@redhat.com >
2023-11-29 18:03:31 +01:00
rokkiter
c38fadcdec
fix cli output token can not return token
2023-11-10 05:47:39 -08:00
mposolda
7863c3e563
Moving UPConfig and related classes from keycloak-services
...
closes #24535
Signed-off-by: mposolda <mposolda@gmail.com >
2023-11-07 12:41:29 +01:00
Alice
69497382d8
Group scalability upgrades ( #22700 )
...
closes #22372
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com >
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com >
Co-authored-by: Michal Hajas <mhajas@redhat.com >
2023-10-26 16:50:45 +02:00
Peter Zaoral
f2dc57bfe1
kcadm.bat, kcreg.bat do not respect environment variables JAVA, JAVA_… ( #23630 )
...
* kcadm.bat, kcreg.bat do not respect environment variables JAVA, JAVA_HOME to select JVM
* edited kcadm.bat and kcreg.bat scripts
Closes #23214
Signed-off-by: Peter Zaoral <pzaoral@redhat.com >
* kcadm.bat, kcreg.bat do not respect environment variables JAVA, JAVA_HOME to select JVM
* incorporated suggestions
Closes #23214
Signed-off-by: Peter Zaoral <pzaoral@redhat.com >
* kcadm.bat, kcreg.bat do not respect environment variables JAVA, JAVA_HOME to select JVM
* incorporated suggestions
Closes #23214
Signed-off-by: Peter Zaoral <pzaoral@redhat.com >
---------
Signed-off-by: Peter Zaoral <pzaoral@redhat.com >
2023-10-20 15:51:54 +02:00
Pedro Igor
290bee0787
Resolve several usability issues around User Profile ( #23537 )
...
Closes #23507 , #23584 , #23740 , #23774
Co-authored-by: Jon Koops <jonkoops@gmail.com >
2023-10-06 10:15:39 -03:00
Steven Hawkins
9a93b9a273
allows csv output to handle missing requested fields ( #23459 )
...
* allows csv output to handle missing requested fields
Closes #12330
* fixes the handling of the content type
also makes it more explicit the expectation of applying csv and return
fields
* fix: consolidating the logic dealing with the content-type
Closes #23580
2023-10-04 15:49:19 +02:00