dse.auth
- Authentication
class DSEPlainTextAuthProvider
Auth provider for Plain Text authentication. Works with legacy PasswordAuthenticator or DseAuthenticator if internal scheme is enabled.
Methods
new_authenticator
(host)Implementations of this class should return a new instance
of Authenticator
or one of its subclasses.
class DSEGSSAPIAuthProvider
Auth provider for GSS API authentication. Works with legacy KerberosAuthenticator or DseAuthenticator if kerberos scheme is enabled.
- Parameters
-
-
service – name of the service
-
qops – iterable of “Quality of Protection” allowed; see
puresasl.QOP
-
resolve_host_name – boolean flag indicating whether the authenticator should reverse-lookup an FQDN when creating a new authenticator. Default is
True
, which will resolve, or return the numeric address if there is no PTR record. SettingFalse
creates the authenticator with the numeric address known by Cassandra -
properties – additional keyword properties to pass for the
puresasl.mechanisms.GSSAPIMechanism
class. Presently, ‘principal’ (user) is the only one referenced in thepure-sasl
implementation
-
Methods
new_authenticator
(host)Implementations of this class should return a new instance
of Authenticator
or one of its subclasses.