提交 55e04b69 编写于 作者: Y Yuki Shiga 提交者: massakam

Add athenz role header property (#831)

上级 f551c4f6
......@@ -141,6 +141,9 @@ public class AuthenticationAthenz implements Authentication, EncodedAuthenticati
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册