tiagomlalves opened a new pull request, #3982: URL: https://github.com/apache/cassandra/pull/3982
Failures when setting up auth/authz in Cassandra show be more made more clear. Issues noticed are: * When configuring `PasswordAuthenticator` with a custom IRoleManager implementation, the message will report "CassandraRoleManager must be used with PasswordAuthenticator". "CassandraRoleManager" can be used with any `IAuthenticator` implementation. The issue here is that `PasswordAuthenticator` requires using `CassandraRoleManager` because it has an implicit dependency on how passwords are created by it. * If we're configuring `MutualTlsWithPasswordFallbackAuthenticator` with another `IRoleManager` implementation we'll see a message that we're using `PasswordAuthenticator` which is incorrect. * When enabling authorization without enabling authentication, error message just says that "[IAuhtenticator] can't be used with [IAuthorizer]" without explaining why * Exceptions thrown when instantiating auth* classes are swallowed preventing users to understand what the issue was. -- 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