jcshepherd commented on code in PR #4319:
URL: https://github.com/apache/cassandra/pull/4319#discussion_r2283368714
##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -1969,6 +1969,15 @@ public static void setAuthenticator(IAuthenticator
authenticator)
DatabaseDescriptor.authenticator = authenticator;
}
+ /**
+ * Indicates if this node uses an authenticator that requires
authentication.
+ */
+ public static boolean isAuthenticationRequired()
+ {
+ return DatabaseDescriptor.getAuthenticator().requireAuthentication();
+ }
+
Review Comment:
This simple delegation will be replaced once support for configuring
multiple authenticators is added.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]