NIFI-655:
- Removing proxied user chain as user details are already serialized.

Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/014b2ac4
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/014b2ac4
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/014b2ac4

Branch: refs/heads/master
Commit: 014b2ac4e8c9e0eb22d9658c79752f6e855e5269
Parents: 774d626
Author: Matt Gilman <[email protected]>
Authored: Mon Nov 30 16:30:12 2015 -0500
Committer: Matt Gilman <[email protected]>
Committed: Mon Nov 30 16:30:12 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/nifi/web/api/ApplicationResource.java     | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/014b2ac4/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java
----------------------------------------------------------------------
diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java
index 399879d..38c0ae3 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java
@@ -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) {

Reply via email to