Skip auth setup if AllowAllAuthenticator is used

This commit is contained in:
Aleksey Yeschenko 2013-08-16 04:52:30 +03:00
parent 82081c7b4b
commit ea712bbbe8
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ public class Auth
*/
public static void setup()
{
if (DatabaseDescriptor.getAuthenticator() instanceof AllowAllAuthenticator)
return;
setupAuthKeyspace();
setupUsersTable();