From issues-return-96188-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Wed Apr 22 14:01:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 19E4118065D for ; Wed, 22 Apr 2020 16:01:02 +0200 (CEST) Received: (qmail 43051 invoked by uid 500); 22 Apr 2020 14:01:01 -0000 Mailing-List: contact issues-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 issues@nifi.apache.org Received: (qmail 42984 invoked by uid 99); 22 Apr 2020 14:01:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2020 14:01:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B6526E30C8 for ; Wed, 22 Apr 2020 14:01:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 2EF4C7805BF for ; Wed, 22 Apr 2020 14:01:00 +0000 (UTC) Date: Wed, 22 Apr 2020 14:01:00 +0000 (UTC) From: "karthik kadajji (Jira)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-7037) Split off username and password fields for GetMongo processor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-7037?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D17089= 701#comment-17089701 ]=20 karthik kadajji commented on NIFI-7037: --------------------------------------- Hi Guys , My approach to this looks like this : 1) split the URI to take only the host and port=C2=A0 2) Have a different property such as username and password. 3) Have them incorporated in the connection string to mongodb.=C2=A0 =C2=A0 I have attached the screenshot of the UI. Please let me know your suggestio= n, if this is the right way? !image-2020-04-22-15-57-18-862.png! =C2=A0 =C2=A0 !image-2020-04-22-15-59-07-596.png! =C2=A0 > Split off username and password fields for GetMongo processor > ------------------------------------------------------------- > > Key: NIFI-7037 > URL: https://issues.apache.org/jira/browse/NIFI-7037 > Project: Apache NiFi > Issue Type: Improvement > Affects Versions: 1.10.0 > Reporter: Patrick Carlson > Assignee: karthik kadajji > Priority: Minor > Attachments: image-2020-04-22-15-57-18-862.png, image-2020-04-22-= 15-59-07-596.png > > > Since the [GetMongo|https://nifi.apache.org/docs/nifi-docs/components/org= .apache.nifi/nifi-mongodb-nar/1.5.0/org.apache.nifi.processors.mongodb.GetM= ongo/] processor {{Mongo URI}} field is not sensitive, it can only referenc= e a non-sensitive parameter but it still just shows the password in plainte= xt in the UI.=C2=A0=C2=A0The GetMongo processor should be refactored to hav= e a specific property for the password and it should be marked as sensitive= so that it can leverage sensitive parameters. -- This message was sent by Atlassian Jira (v8.3.4#803005)