Packages

c

com.couchbase.client.scala.env

PasswordAuthenticator

case class PasswordAuthenticator(username: String, password: String) extends Authenticator with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Authenticator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PasswordAuthenticator
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Authenticator
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PasswordAuthenticator(username: String, password: String)

Value Members

  1. def applyTlsProperties(arg0: SslContextBuilder): Unit
    Definition Classes
    Authenticator
  2. def authHttpRequest(serviceType: ServiceType, request: HttpRequest): Unit

    Allows to add authentication credentials to the http request for the given service.

    Allows to add authentication credentials to the http request for the given service.

    serviceType

    the service for this request.

    request

    the http request.

    Definition Classes
    PasswordAuthenticator → Authenticator
  3. def authKeyValueConnection(endpointContext: EndpointContext, pipeline: ChannelPipeline): Unit

    Allows the authenticator to add KV handlers during connection bootstrap to perform authentication.

    Allows the authenticator to add KV handlers during connection bootstrap to perform authentication.

    endpointContext

    the endpoint context.

    pipeline

    the pipeline when the endpoint is constructed.

    Definition Classes
    PasswordAuthenticator → Authenticator
  4. val password: String
  5. def supportsNonTls(): Boolean
    Definition Classes
    Authenticator
  6. def supportsTls(): Boolean
    Definition Classes
    Authenticator
  7. val username: String