package sasl
Type Members
- class SaslClientBootstrap extends TransportClientBootstrap
Bootstraps a
TransportClientby performing SASL authentication on the connection.Bootstraps a
TransportClientby performing SASL authentication on the connection. The server should be setup with aSaslRpcHandlerwith matching keys for the given appId. - class SaslRpcHandler extends AbstractAuthRpcHandler
RPC Handler which performs SASL authentication before delegating to a child RPC handler.
RPC Handler which performs SASL authentication before delegating to a child RPC handler. The delegate will only receive messages if the given connection has been successfully authenticated. A connection may be authenticated at most once.
Note that the authentication process consists of multiple challenge-response pairs, each of which are individual RPCs.
- class SaslServerBootstrap extends TransportServerBootstrap
A bootstrap which is executed on a TransportServer's client channel once a client connects to the server.
A bootstrap which is executed on a TransportServer's client channel once a client connects to the server. This allows customizing the client channel to allow for things such as SASL authentication.
- class SaslTimeoutException extends RuntimeException
An exception thrown if there is a SASL timeout.
- trait SecretKeyHolder extends AnyRef
Interface for getting a secret key associated with some application.
- class SparkSaslClient extends SaslEncryptionBackend
A SASL Client for Spark which simply keeps track of the state of a single SASL session, from the initial state to the "authenticated" state.
A SASL Client for Spark which simply keeps track of the state of a single SASL session, from the initial state to the "authenticated" state. This client initializes the protocol via a firstToken, which is then followed by a set of challenges and responses.
- class SparkSaslServer extends SaslEncryptionBackend
A SASL Server for Spark which simply keeps track of the state of a single SASL session, from the initial state to the "authenticated" state.
A SASL Server for Spark which simply keeps track of the state of a single SASL session, from the initial state to the "authenticated" state. (It is not a server in the sense of accepting connections on some socket.)