Support Questions

Find answers, ask questions, and share your expertise

When using the InvokeHTTP processor it uses basic authentication but why is the password still shown in clear text?

avatar
Cloudera Employee
 
1 ACCEPTED SOLUTION

avatar

I made another Jira ticket[1] to knock it out real quick. The digest auth ticket will take a bit longer since java's HttpUrlConnection digest Authentication is wacky.

Edit: Patch has been accepted and merged.

[1] https://issues.apache.org/jira/browse/NIFI-1030

View solution in original post

5 REPLIES 5

avatar

I think it's an omission. It was mentioned already before here in a context of digest authentication support https://issues.apache.org/jira/browse/NIFI-980?focusedCommentId=14940725&page=com.atlassian.jira.plu...

Perhaps it makes sense to create a top-level jira for marking the property sensitive or convert to a subtask?

avatar

I made another Jira ticket[1] to knock it out real quick. The digest auth ticket will take a bit longer since java's HttpUrlConnection digest Authentication is wacky.

Edit: Patch has been accepted and merged.

[1] https://issues.apache.org/jira/browse/NIFI-1030

avatar
Rising Star

Can you elaborate? Do you see the actual password in the header or the Base64 encoded string? Basic Auth provides no security with regard to user/password. Base64 encoding is used to handle special characters that could invalidate the entire header.

avatar

It was a field in the UI which wasn't flagged as sensitive (NiFi automatically encrypts such fields).

avatar

To elaborate a bit more, there is an InvokeHttp processor that is able to utilize basic authentication. In order to connect, the processor has a property called "Basic Authentication Password". The user of the UI has to input this when configuring the processor. Since it is a password it is considered a sensitive property and once set it won't be able to be seen in the UI and it is encrypted when in use. Also when exporting in a template the sensitive properties are not transferred.