Skip to content

Commit

Permalink
Add athenz role header property (apache#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
yush1ga authored and massakam committed Oct 17, 2017
1 parent f551c4f commit 55e04b6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ private void setAuthParams(Map<String, String> authParams){
if (authParams.containsKey("principalHeader")) {
System.setProperty("athenz.auth.principal.header", authParams.get("principalHeader"));
}
if (authParams.containsKey("roleHeader")) {
System.setProperty("athenz.auth.role.header", authParams.get("roleHeader"));
}
}

@Override
Expand Down

0 comments on commit 55e04b6

Please sign in to comment.