class Cql::Auth::PlainTextAuthenticator

Authenticator used for Cassandra’s built in authentication, see {Cql::Auth::PlainTextAuthProvider}

Public Class Methods

new(username, password) click to toggle source
# File lib/cql/auth/plain_text_auth.rb, line 30
def initialize(username, password)
  @username = username
  @password = password
end

Public Instance Methods

authentication_successful(token) click to toggle source
# File lib/cql/auth/plain_text_auth.rb, line 42
def authentication_successful(token)
end
challenge_response(token) click to toggle source
# File lib/cql/auth/plain_text_auth.rb, line 39
def challenge_response(token)
end
initial_response() click to toggle source
# File lib/cql/auth/plain_text_auth.rb, line 35
def initial_response
  "\x00#{@username}\x00#{@password}"
end