mirror of https://github.com/apache/cassandra
Skip auth setup if AllowAllAuthenticator is used
This commit is contained in:
parent
82081c7b4b
commit
ea712bbbe8
|
|
@ -122,6 +122,9 @@ public class Auth
|
|||
*/
|
||||
public static void setup()
|
||||
{
|
||||
if (DatabaseDescriptor.getAuthenticator() instanceof AllowAllAuthenticator)
|
||||
return;
|
||||
|
||||
setupAuthKeyspace();
|
||||
setupUsersTable();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue