title: com.couchbase.client.java.error.MixedAuthenticationException with Couchbase and Spring Boot
body: <p>I am getting an error when executing a code in Spring Boot using Couchbase 6.0 but the same code was running successfully on Couchbase 4.6.2.</p>
  
  <pre><code>"Exception in thread "main" com.couchbase.client.java.error.MixedAuthenticationException: Mixed mode authentication not allowed, use Bucket credentials, User credentials (rbac) or Certificate auth"
  at com.couchbase.client.java.CouchbaseAsyncCluster.openBucket(CouchbaseAsyncCluster.java:394)
  at com.couchbase.client.java.CouchbaseCluster.openBucket(CouchbaseCluster.java:350)
  at com.couchbase.client.java.CouchbaseCluster.openBucket(CouchbaseCluster.java:333)
  at com.couchbase.client.java.CouchbaseCluster.openBucket(CouchbaseCluster.java:322)
  at com.rms.RmsCodeApplication.jsonmethod(RmsCodeApplication.java:37)
  at com.rms.RmsCodeApplication.main(RmsCodeApplication.java:30)
  </code></pre>