Return-Path: X-Original-To: apmail-nifi-commits-archive@minotaur.apache.org Delivered-To: apmail-nifi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E075818904 for ; Mon, 30 Nov 2015 21:30:26 +0000 (UTC) Received: (qmail 33166 invoked by uid 500); 30 Nov 2015 21:30:26 -0000 Delivered-To: apmail-nifi-commits-archive@nifi.apache.org Received: (qmail 33130 invoked by uid 500); 30 Nov 2015 21:30:26 -0000 Mailing-List: contact commits-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list commits@nifi.apache.org Received: (qmail 33117 invoked by uid 99); 30 Nov 2015 21:30:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2015 21:30:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 432C6E2C43; Mon, 30 Nov 2015 21:30:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mcgilman@apache.org To: commits@nifi.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: nifi git commit: NIFI-655: - Removing proxied user chain as user details are already serialized. Date: Mon, 30 Nov 2015 21:30:26 +0000 (UTC) Repository: nifi Updated Branches: refs/heads/NIFI-655 774d626f8 -> 014b2ac4e 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/NIFI-655 Commit: 014b2ac4e8c9e0eb22d9658c79752f6e855e5269 Parents: 774d626 Author: Matt Gilman Authored: Mon Nov 30 16:30:12 2015 -0500 Committer: Matt Gilman 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) {