tiagomlalves commented on code in PR #3931: URL: https://github.com/apache/cassandra/pull/3931#discussion_r1987446492
########## src/java/org/apache/cassandra/auth/AuthConfig.java: ########## @@ -73,7 +73,10 @@ public static void applyAuth() IAuthorizer authorizer = authInstantiate(conf.authorizer, AllowAllAuthorizer.class); if (!authenticator.requireAuthentication() && authorizer.requireAuthorization()) - throw new ConfigurationException(conf.authenticator.class_name + " can't be used with " + conf.authorizer, false); + { + throw new ConfigurationException(authorizer.getClass().getName() + " has authorization enabled which requires " + + authenticator.getClass().getName() + " to enable authentication", false); Review Comment: @smiklosovic Fixed the alignment of this as well. -- 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