|  | 
| 34 | 34 | import com.datastax.driver.core.exceptions.SyntaxError; | 
| 35 | 35 | import com.datastax.driver.core.exceptions.UnauthorizedException; | 
| 36 | 36 | import org.apache.cassandra.ServerTestUtils; | 
|  | 37 | +import org.apache.cassandra.auth.CassandraAuthorizer; | 
|  | 38 | +import org.apache.cassandra.auth.CassandraRoleManager; | 
|  | 39 | +import org.apache.cassandra.auth.PasswordAuthenticator; | 
| 37 | 40 | import org.apache.cassandra.config.DatabaseDescriptor; | 
| 38 | 41 | import org.apache.cassandra.config.OverrideConfigurationLoader; | 
| 39 | 42 | import org.apache.cassandra.config.ParameterizedClass; | 
| @@ -67,11 +70,11 @@ public class AuditLoggerAuthTest | 
| 67 | 70 |     public static void setup() throws Exception | 
| 68 | 71 |     { | 
| 69 | 72 |         OverrideConfigurationLoader.override((config) -> { | 
| 70 |  | -            config.authenticator = new ParameterizedClass("PasswordAuthenticator"); | 
| 71 |  | -            config.role_manager = new ParameterizedClass("CassandraRoleManager"); | 
| 72 |  | -            config.authorizer = new ParameterizedClass("CassandraAuthorizer"); | 
|  | 73 | +            config.authenticator = new ParameterizedClass(PasswordAuthenticator.class.getName()); | 
|  | 74 | +            config.role_manager = new ParameterizedClass(CassandraRoleManager.class.getName()); | 
|  | 75 | +            config.authorizer = new ParameterizedClass(CassandraAuthorizer.class.getName()); | 
| 73 | 76 |             config.audit_logging_options.enabled = true; | 
| 74 |  | -            config.audit_logging_options.logger = new ParameterizedClass("InMemoryAuditLogger", null); | 
|  | 77 | +            config.audit_logging_options.logger = new ParameterizedClass(InMemoryAuditLogger.class.getName(), null); | 
| 75 | 78 |         }); | 
| 76 | 79 | 
 | 
| 77 | 80 |         System.setProperty("cassandra.superuser_setup_delay_ms", "0"); | 
|  | 
0 commit comments