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: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org