cassandra/test
Tiago Alves 2dea5c7588
Use ParameterizedClass for all auth-related implementations
Uses ParameterizedClass for IAuthorizer, INetworkAuthorizer, and
IRoleManager implementations enabling those to be configurable from
parameters specified directly in cassandra.yaml.

Opportunistically makes consistent the initialization and setting of
all auth-related implementations and removes code duplication.

Notes:
 * IInternodeAuthenticator implementations are expected to be set as
   default directly in DatabaseDescriptor instead of done via
   AuthConfig.applyAuth(). This is assumed in tests and client logic.
   For instance ReconnectableSnitchHelperTest fetches this authenticator
   before calling daemonInitialize(). Also, BulkLoader fetches this
   directly when creating an outbound connection.
 * Changing this behavior in BulkLoader causes a cascade of changes.
   First, one would need to add AuthConfig.applyAuth() directly in
   clientInitialize() and then would need to enable all the additional
   classes that this change causes. Long term this might be justified
   as if we're depending on the auth logic to be properly set. However,
   in the context of this change it was decided to postpone further
   changes.
 * Standardize auth-related configurations by using a short-form with
   the class name instead of the full qualified class name containing
   the package name.

 patch by Tiago Alves; reviewed by Mick Semb Wever, Stefan Miklosovic for CASSANDRA-19946
2024-10-09 13:51:51 +02:00
..
anttasks/org/apache/cassandra/anttasks Optionally fail writes when SAI refuses to index a term value exceeding a configured maximum size 2024-04-17 11:12:42 -05:00
bin JMH improvements - faster build and async profiler 2023-09-25 12:39:36 +02:00
burn/org/apache/cassandra Merge branch 'cassandra-4.1' into cassandra-5.0 2024-09-16 12:25:42 -05:00
conf Merge branch 'cassandra-4.1' into cassandra-5.0.0 2024-08-15 10:49:50 -05:00
data Use ParameterizedClass for all auth-related implementations 2024-10-09 13:51:51 +02:00
distributed/org/apache/cassandra Merge branch 'cassandra-4.1' into cassandra-5.0 2024-09-17 17:21:16 -05:00
long/org/apache/cassandra Enable Direct-IO feature for CommitLog files using Java native API's. 2023-11-29 11:29:23 +01:00
memory/org/apache/cassandra/db/compaction Deprecate/forbid constructors for Integer, Long, Float, Byte, Double, and Short 2023-05-02 08:26:10 -05:00
microbench/org/apache/cassandra/test/microbench Merge branch 'cassandra-4.1' into cassandra-5.0 2024-10-02 15:30:20 +02:00
resources Add support for a vector search index in SAI 2023-10-29 12:24:00 +01:00
simulator Merge branch 'cassandra-4.1' into cassandra-5.0.0 2024-08-15 10:49:50 -05:00
unit Use ParameterizedClass for all auth-related implementations 2024-10-09 13:51:51 +02:00