ASF GitHub Bot commented on NIFI-5054:

Github user mgroves commented on the issue:

    Thank @ijokarumawak, I used -DskipTests and it built successfully for me on 
Windows. I tried out the PutCouchbaseKey operator with a 
CouchbaseClusterService using a username and password, and it works great.
    I'm curious how it would work if someone wants to use a newer version of 
NiFi with Couchbase 4 or older. I'm not familiar enough with the NiFi 
architecture or project--will they have to use an old version of NiFi or is 
there someway they can keep using the older module?

> Nifi Couchbase Processors does not support User Authentication
> --------------------------------------------------------------
>                 Key: NIFI-5054
>                 URL: https://issues.apache.org/jira/browse/NIFI-5054
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Shagun Jaju
>            Assignee: Koji Kawamura
>            Priority: Major
>              Labels: authentication, security
> Issue Description: Nifi Couchbase processors don't work with new couchbase 
> versions 5.0 and 5.1.
> New Couchbase Version 5.x has introduced *Role Based Access Control (RBAC),* 
> a ** new security feature.
>  # All buckets must now be accessed by a *user*/*password* combination that 
> has a *role with access rights* to the bucket.
>  # Buckets no longer use bucket-level passwords
>  # There is no default bucket and no sample buckets with blank passwords.
>  # You cannot create a user without a password.
> *(Ref:* 
> https://developer.couchbase.com/documentation/server/5.0/introduction/whats-new.html
> [https://blog.couchbase.com/new-sdk-authentication/] )
> nifi-couchbase-processors : GetCouchbaseKey and PutCouchbaseKey using 
> Controller Service still uses old authentication mechanism.
>  * org.apache.nifi.processors.couchbase.GetCouchbaseKey
>  * org.apache.nifi.processors.couchbase.PutCouchbaseKey
> Ref: 
> [https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-couchbase-bundle/nifi-couchbase-processors/src/main/java/org/apache/nifi/couchbase/CouchbaseClusterService.java#L116]

This message was sent by Atlassian JIRA

Reply via email to