Repository navigation
js deps uuid 26.6 - #49539
Closed
stianst wants to merge 481 commits into
Closed
js deps uuid 26.6#49539stianst wants to merge 481 commits into
stianst wants to merge 481 commits into
Conversation
Closes #48288 Signed-off-by: Ryan Emerson <remerson@ibm.com>
Closes #48128 Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com> Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
When updating a role via PUT /admin/realms/{realm}/roles/{role-name} or PUT /admin/realms/{realm}/roles-by-id/{role-id} with a request body that omits the name field, the shared protected updateRole method passed null to RoleModel.setName, leading to a NullPointerException in RoleUpdatedEvent and a 500 Internal Server Error.
Validate the name up-front in the shared helper and throw BadRequestException ("role has no name"), matching the validation already performed by createRole. Both endpoints share the helper, so a single change covers both paths.
Also documents the new 400 response in the OpenAPI annotations for both endpoints, and adds tests in RealmRolesCRUDTest and RoleByIdResourceTest covering the missing-name case.
Closes #48459
Signed-off-by: chon3806 <93464148+chon3806@users.noreply.github.com>
This is used to generate Keycloak Admin REST API. Without this a 'null' value is used, which suggests that returning a paginated list is optional. Closes #47560 Signed-off-by: Iestyn <33298011+IestynGage@users.noreply.github.com>
* fix: ensuring dev mode can fully reload the application closes: #47077 Signed-off-by: Steve Hawkins <shawkins@redhat.com> * also removing test launch mode Signed-off-by: Steve Hawkins <shawkins@redhat.com> * refining embedded mode cleanup Signed-off-by: Steve Hawkins <shawkins@redhat.com> # Conflicts: # quarkus/tests/junit5/src/main/java/org/keycloak/Keycloak.java * restoring test launch mode Signed-off-by: Steve Hawkins <shawkins@redhat.com> --------- Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Closes #46740 Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
…ited Signed-off-by: Tomohiko Ozawa <kota65535@gmail.com>
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
* Make OrganizationGroupMembershipMapper claim name configurable The OrganizationGroupMembershipMapper introduced in 26.6.0 hardcoded the token claim name to "organization", unlike OrganizationMembershipMapper which already exposes the claim name as a configurable property. - Add TOKEN_CLAIM_NAME config property to OrganizationGroupMembershipMapper via OIDCAttributeMapperHelper.addTokenClaimNameConfig() - Override getEffectiveModel() to default the claim name to OAuth2Constants.ORGANIZATION when not set, preserving backward compatibility for existing mapper configurations - Set TOKEN_CLAIM_NAME default in the static create() factory method - Refactor OIDCAttributeMapperHelper.getOrInitializeOrganizationClaimAsMap() to accept a ProtocolMapperModel instead of a raw String, delegating to mapClaim() for correct claim placement (including nested path support) Closes #47851 Signed-off-by: Sven-Torben Janus <sven-torben.janus@conciso.de> * Fix nested claim path read and add custom claim name tests The read side of getOrInitializeOrganizationClaimAsMap was doing a flat Map.get() on the dotted claim name, while the write side (mapClaim) already creates a nested structure by splitting on dots. This caused the group mapper to find nothing when the claim name contained a dot, overwriting the membership data written by OrganizationMembershipMapper. Fix by splitting the claim path via splitClaimPath() and traversing the nested map with a new private getNestedClaimValue() helper in OIDCAttributeMapperHelper. The helper belongs there rather than in JsonUtils because it operates on Map<String,Object>, not JsonNode. Also add integration tests covering: - Custom flat claim name ("my_orgs") for both OrganizationMembershipMapper and OrganizationGroupMembershipMapper, verifying the claim appears at the configured name and not at "organization" - Dotted claim name ("custom.org") for OrganizationGroupMembershipMapper, verifying the token contains nested otherClaims["custom"]["org"] and that group composition is preserved Signed-off-by: Sven-Torben Janus <sven-torben.janus@conciso.de> --------- Signed-off-by: Sven-Torben Janus <sven-torben.janus@conciso.de>
Closes #48428 Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
Signed-off-by: sar <sar.haidar@gmail.com>
* is-45364 migrate Client Api V2 tests to utilize adminClient Signed-off-by: Robin Meese <39960884+robson90@users.noreply.github.com> * Migrate getRealmAdmin() to use @InjectAdminClient and remove redundant AdminClientFactory setup Signed-off-by: Peter Zaoral <pzaoral@redhat.com> is-45364 fix PR comments Signed-off-by: Robin Meese <39960884+robson90@users.noreply.github.com> --------- Signed-off-by: Robin Meese <39960884+robson90@users.noreply.github.com> Co-authored-by: Peter Zaoral <pzaoral@redhat.com>
* Updated translation for Catalan Language: ca Updated translation for Catalan Language: ca Updated translation for Catalan Language: ca Updated translation for Catalan Language: ca Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net> Co-authored-by: Ecron <ecron_89@hotmail.com> Co-authored-by: Hosted Weblate <hosted@weblate.org> Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net> Signed-off-by: Ecron <ecron_89@hotmail.com> Signed-off-by: Hosted Weblate <hosted@weblate.org> * Updated translation for Czech Language: cs Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Peter Schiffer <peter@pschiffer.eu> Signed-off-by: Hosted Weblate <hosted@weblate.org> Signed-off-by: Peter Schiffer <peter@pschiffer.eu> * Updated translation for French Language: fr Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Sylvain Pichon <service@spichon.fr> Signed-off-by: Hosted Weblate <hosted@weblate.org> Signed-off-by: Sylvain Pichon <service@spichon.fr> * Updated translation for Swedish Language: sv Updated translation for Swedish Language: sv Updated translation for Swedish Language: sv Co-authored-by: Daniel Nylander <daniel@danielnylander.se> Co-authored-by: Hosted Weblate <hosted@weblate.org> Signed-off-by: Daniel Nylander <daniel@danielnylander.se> Signed-off-by: Hosted Weblate <hosted@weblate.org> --------- Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net> Signed-off-by: Ecron <ecron_89@hotmail.com> Signed-off-by: Hosted Weblate <hosted@weblate.org> Signed-off-by: Peter Schiffer <peter@pschiffer.eu> Signed-off-by: Sylvain Pichon <service@spichon.fr> Signed-off-by: Daniel Nylander <daniel@danielnylander.se> Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net> Co-authored-by: Ecron <ecron_89@hotmail.com> Co-authored-by: Peter Schiffer <peter@pschiffer.eu> Co-authored-by: Sylvain Pichon <service@spichon.fr> Co-authored-by: Daniel Nylander <daniel@danielnylander.se>
* move phishing check fixes: #48010 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * Apply suggestion from @shawkins Signed-off-by: Steven Hawkins <shawkins@redhat.com> --------- Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> Signed-off-by: Steven Hawkins <shawkins@redhat.com> Co-authored-by: Steven Hawkins <shawkins@redhat.com>
* Block *.js.map files in production. *.js.map files will still be allowed in dev mode for debugging purposes. Fixes #47545 Signed-off-by: Stan Silvert <ssilvert@redhat.com> * Minor changes from PR review. Signed-off-by: Stan Silvert <ssilvert@redhat.com> * Conditionally install the filter at build time. Signed-off-by: Stan Silvert <ssilvert@redhat.com> * Restore openapi.yaml, which was changed accidentally. Signed-off-by: Stan Silvert <ssilvert@redhat.com> --------- Signed-off-by: Stan Silvert <ssilvert@redhat.com>
closes #48546 Signed-off-by: mposolda <mposolda@gmail.com>
Closes #47061 Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Closes #48450 Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Signed-off-by: Simon Vacek <simonvacky@email.cz>
…ertion methods. (#48638) Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
* Stop using jboss-parent Closes: #40125 Signed-off-by: Peter Zaoral <pzaoral@redhat.com> * Add Maven plugins version from jboss-parent Should match the versions from jboss-parent to prevent conflicting versions. Signed-off-by: Badiuzzaman Iskhandar <badiskhand@ibm.com> --------- Signed-off-by: Peter Zaoral <pzaoral@redhat.com> Signed-off-by: Badiuzzaman Iskhandar <badiskhand@ibm.com> Co-authored-by: Badiuzzaman Iskhandar <badiskhand@ibm.com>
Closes: #48710 Signed-off-by: Simon Vacek <simonvacky@email.cz>
closes: #48734 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Closes #48716 Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
Closes #48459 Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
* Initial contributors guide lines around features Signed-off-by: stianst <stianst@gmail.com> * Apply suggestions from code review Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net> Signed-off-by: Stian Thorgersen <stianst@gmail.com> * Update docs/features.md Co-authored-by: Sebastian Schuster <sebastian.schuster@bosch.com> Signed-off-by: Stian Thorgersen <stianst@gmail.com> --------- Signed-off-by: stianst <stianst@gmail.com> Signed-off-by: Stian Thorgersen <stianst@gmail.com> Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net> Co-authored-by: Sebastian Schuster <sebastian.schuster@bosch.com>
Closes #49388 Signed-off-by: rmartinc <rmartinc@redhat.com>
Closes #49388 Signed-off-by: rmartinc <rmartinc@redhat.com>
closes #49435 Signed-off-by: mposolda <mposolda@gmail.com>
…text Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com> Closes #49272
closes #49484 Signed-off-by: mposolda <mposolda@gmail.com>
Closes #49482 Signed-off-by: Awambeng Rodrick <awambengrodrick@gmail.com>
Bumps [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) from 3.32.3 to 3.36.0. - [Release notes](https://github.com/steveukx/git-js/releases) - [Changelog](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md) - [Commits](https://github.com/steveukx/git-js/commits/simple-git@3.36.0/simple-git) --- updated-dependencies: - dependency-name: simple-git dependency-version: 3.36.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Closes #48152 Signed-off-by: Marie Daly <marie.daly1@ibm.com> Signed-off-by: Ricardo Martin <rmartinc@redhat.com> Co-authored-by: Ricardo Martin <rmartinc@redhat.com>
Closes #49530 Signed-off-by: stianst <stianst@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
catch (error: any)with proper types (fix(admin-ui): replace explicitcatch (error: any)with proper types #47397)4.18to4.21deploy-cnpg.adoc. Slightly rephrased some sentencesupdatecommand toapplyto reflect that it can create resources as well as update them #48134)@DefaultValueto max param used in Admin REST APIs (Add@DefaultValueto document the max param used in several Admin REST APIs #47561)INVITE_ORGandREGISTERevent when a new user is invitedorg.postgresql:postgresqlversion (Overrideorg.postgresql:postgresqlversion #48991)maven-install-pluginparametercreateChecksum#49079)RequiredActionUpdateProfileTest#48149 (migration test RequiredActionUpdateProfileTest #48648)client_idparameter validation for federated client assertions (Enable configurableclient_idparameter validation for federated client assertions #48026)