Skip to content

Commit

Permalink
Forbid pushing authUsername in case it has been set as a parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrovnanik committed Apr 10, 2018
1 parent 31402b3 commit 9707058
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ public void validateCall(ExecutionContextImpl eci) {
// pop immediately, just did the push to to an authz
eci.artifactExecutionFacade.pop(aei);

parameters.put("authUsername", eci.userFacade.getUsername());
if (!parameters.containsKey("authUsername")) {
parameters.put("authUsername", eci.userFacade.getUsername());
}

// logger.warn("=========== async call ${serviceName}, parameters: ${parameters}")
}
Expand Down

0 comments on commit 9707058

Please sign in to comment.