case class PasswordAuthenticator(username: String, password: String) extends Authenticator with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PasswordAuthenticator
- Serializable
- Serializable
- Product
- Equals
- Authenticator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PasswordAuthenticator(username: String, password: String)
Value Members
-
def
applyTlsProperties(arg0: SslContextBuilder): Unit
- Definition Classes
- Authenticator
-
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
-
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
- val password: String
-
def
supportsNonTls(): Boolean
- Definition Classes
- Authenticator
-
def
supportsTls(): Boolean
- Definition Classes
- Authenticator
- val username: String