We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a253772 commit 993f9d2Copy full SHA for 993f9d2
scylla/tests/ccm_integration/ccm/cluster.rs
@@ -705,6 +705,15 @@ impl Cluster {
705
self.updateconf(args).await
706
}
707
708
+ /// Enables the `PasswordAuthenticator` for the cluster.
709
+ // Consider making it accept an enum in the future. Supported authenticators:
710
+ // https://github.com/scylladb/scylladb/blob/529ff3efa57553eef6b0239b03b81581b70fb9ed/db/config.cc#L1045-L1051.
711
+ pub(crate) async fn enable_password_authentication(&self) -> Result<(), Error> {
712
+ let args = [("authenticator", "PasswordAuthenticator")];
713
+
714
+ self.updateconf(args).await
715
+ }
716
717
fn get_ccm_env(&self) -> HashMap<String, String> {
718
let mut env: HashMap<String, String> = HashMap::new();
719
env.insert(
0 commit comments