cassandra/test
Joel Shepherd 281c1dc92c
Enable IAuthenticator to declare supported and alterable role options
With negotiated authentication (CEP-50), nodes may be configured with multiple authenticators. Prior to this change,
a number of areas in the code assumed that there was a single configured authenticator and contained logic that
switched depending on the authenticator type. This logic won't work when multiple authenticators can be configured.
This change eliminates most calls to DataDescriptor.getAuthenticator(), by enabling individual authenticators to
declare the role attributes they support, requiring callers to specify the type of authenticator they're looking
for, and directly returning whether the node can enforce authn or not rather than inferring it by the presence of
an authenticator.

Testing done: Unit tests for auth and config packages; d-tests for auth-related functionality (e.g. ColumnMasks).

patch by Joel Shepherd; reviewed by Stefan Miklosovic, Andy Tolbert for CASSANDRA-20834
2026-04-12 22:15:49 +02:00
..
anttasks/org/apache/cassandra/anttasks Organize imports and standartize import order across entire codebase 2025-12-30 22:34:14 +01:00
bin Add cursor based optimized compaction path 2025-12-19 12:45:25 -05:00
burn/org/apache/cassandra Organize imports and standartize import order across entire codebase 2025-12-30 22:34:14 +01:00
conf Enable IAuthenticator to declare supported and alterable role options 2026-04-12 22:15:49 +02:00
data Change trunk from 5.1 to 6.0 2026-03-21 22:55:40 +01:00
distributed/org/apache/cassandra Merge branch 'cassandra-5.0' into trunk 2026-04-08 11:17:44 -04:00
harry/main/org/apache/cassandra Add range delete support to AST-based fuzz tests 2026-04-01 11:45:54 -05:00
long/org/apache/cassandra Organize imports and standartize import order across entire codebase 2025-12-30 22:34:14 +01:00
memory/org/apache/cassandra/db/compaction Organize imports and standartize import order across entire codebase 2025-12-30 22:34:14 +01:00
microbench/org/apache/cassandra/test/microbench Ninja: increase heap size in LocalRangesAllSettledBench 2026-03-19 10:27:57 +00:00
resources Improve writePlacementsAllSettled performance in large clusters with many ongoing range movements 2026-03-17 11:11:22 +00:00
simulator Merge branch 'cassandra-5.0' into trunk 2026-03-27 12:07:39 -05:00
unit Enable IAuthenticator to declare supported and alterable role options 2026-04-12 22:15:49 +02:00