fix(core): pass the presigned credential of a Query POST to its handler (#6073)

* fix(core): pass the presigned credential of a Query POST to its handler

* test(core): sign the presigned Query POST test like a real client
This commit is contained in:
Aymen JAMAAOUI authored and GitHub committed 2026-10-20 10:10:20 -04:00
1 parent b8d87df054
commit 32b64e5e41
2 files changed
+23

No files matched your search

@@ -137,8 +137,13 @@ public class AwsQueryController {
@Produces(MediaType.APPLICATION_XML)
public Response dispatch(
@HeaderParam("Authorization") String authorization,
@Context UriInfo uriInfo,
MultivaluedMap<String, String> formParams) {
return dispatch(IamEnforcementFilter.requestAuthorization(authorization, uriInfo.getQueryParameters()),
formParams);
}
private Response dispatch(String authorization, MultivaluedMap<String, String> formParams) {
String action = AwsQueryServiceResolver.action(formParams);
if (action == null) {
return xmlErrorResponse("MissingAction",