[
https://issues.apache.org/jira/browse/KNOX-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tamás Hanicz closed KNOX-3179.
------------------------------
> Client credential flow reads null parameters from request
> ---------------------------------------------------------
>
> Key: KNOX-3179
> URL: https://issues.apache.org/jira/browse/KNOX-3179
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 2.1.0
> Reporter: Tamás Hanicz
> Assignee: Tamás Hanicz
> Priority: Critical
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [KNOX-3175|https://issues.apache.org/jira/projects/KNOX/issues/KNOX-3175]
> changed the way the client credential flow reads payload data from
> x-www-form-urlencoded requests. However these request are already cast to
> UrlEncodedFormRequest where the getParameter method is overridden and the
> payload is ignored, parameters only read from the query params.
>
> {code:java}
> @Override
> public String getParameter(String name) {
> return queryParams.getValue(name, 0);
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)