Uses of Class
com.couchbase.analytics.client.java.Credential
Packages that use Credential
-
Uses of Credential in com.couchbase.analytics.client.java
Methods in com.couchbase.analytics.client.java that return CredentialModifier and TypeMethodDescriptionstatic CredentialCredential.fromKeyStore(Path pkcs12Path, @Nullable String password) Returns a new instance that holds a client certificate loaded from the specified PKCS#12 key store file.static CredentialCredential.fromKeyStore(KeyStore keyStore, @Nullable String password) Returns a new instance that holds a client certificate loaded from the specified key store.static CredentialReturns a new instance that holds the given username and password.static CredentialCredential.ofDynamic(Supplier<Credential> supplier) Deprecated.This method is not compatible with client certificate credentials.static CredentialReturns a new instance that holds the given JSON Web Token (JWT).Methods in com.couchbase.analytics.client.java with parameters of type CredentialModifier and TypeMethodDescriptionvoidCluster.credential(Credential newCredential) Sets the credential to use for future requests.static ClusterCluster.newInstance(String connectionString, Credential credential) static ClusterCluster.newInstance(String connectionString, Credential credential, Consumer<ClusterOptions> options) Method parameters in com.couchbase.analytics.client.java with type arguments of type CredentialModifier and TypeMethodDescriptionstatic CredentialCredential.ofDynamic(Supplier<Credential> supplier) Deprecated.This method is not compatible with client certificate credentials.