NIFI-655:

- Removing proxied user chain as user details are already serialized.
This commit is contained in:
Matt Gilman 2015-11-30 16:30:12 -05:00
parent 774d626f88
commit 014b2ac4e8
1 changed files with 0 additions and 7 deletions

View File

@ -365,13 +365,6 @@ public abstract class ApplicationResource {
if (httpServletRequest.isSecure()) {
// add the certificate DN to the proxy chain
final NiFiUser user = NiFiUserUtils.getNiFiUser();
if (user != null) {
// add the proxied user details
result.put(PROXIED_ENTITIES_CHAIN_HTTP_HEADER, ProxiedEntitiesUtils.buildProxiedEntitiesChainString(user));
}
// add the user's authorities (if any) to the headers
final Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
if (authentication != null) {