Class SecurityManagerCompatibilityTest
java.lang.Object
org.apache.kafka.common.internals.SecurityManagerCompatibilityTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis is a class meant to stand-in for the AccessController, and Subject classes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
SecurityManagerCompatibilityTest
public SecurityManagerCompatibilityTest()
-
-
Method Details
-
testLegacyStrategyLoadable
@EnabledForJreRange(max=JAVA_22) @Test public void testLegacyStrategyLoadable() throws ClassNotFoundException, NoSuchMethodException -
testModernStrategyLoadable
@EnabledForJreRange(min=JAVA_18) @Test public void testModernStrategyLoadable() throws ClassNotFoundException, NoSuchMethodException -
testCompositeStrategyLoadable
@Test public void testCompositeStrategyLoadable() -
testDefaultStrategyLoadable
@Test public void testDefaultStrategyLoadable() -
testDefaultStrategyDoPrivilegedReturn
@Test public void testDefaultStrategyDoPrivilegedReturn() -
testDefaultStrategyDoPrivilegedThrow
@Test public void testDefaultStrategyDoPrivilegedThrow() -
testDefaultStrategyCurrentNull
@Test public void testDefaultStrategyCurrentNull() -
testDefaultStrategyCallAsReturn
@Test public void testDefaultStrategyCallAsReturn() -
testDefaultStrategyCallAsCurrent
@Test public void testDefaultStrategyCallAsCurrent() -
testLegacyStrategyThrowsWhenSecurityManagerRemoved
@Test public void testLegacyStrategyThrowsWhenSecurityManagerRemoved() -
testModernStrategyLoadableWhenSecurityManagerRemoved
@EnabledForJreRange(min=JAVA_18) @Test public void testModernStrategyLoadableWhenSecurityManagerRemoved() throws ClassNotFoundException, NoSuchMethodException -
testCompositeStrategyLoadableWhenSecurityManagerRemoved
@Test public void testCompositeStrategyLoadableWhenSecurityManagerRemoved() -
testLegacyStrategyCurrentThrowsWhenSecurityManagerUnsupported
@Test public void testLegacyStrategyCurrentThrowsWhenSecurityManagerUnsupported() throws ClassNotFoundException, NoSuchMethodException -
testLegacyStrategyCallAsThrowsWhenSecurityManagerUnsupported
@Test public void testLegacyStrategyCallAsThrowsWhenSecurityManagerUnsupported() throws ClassNotFoundException, NoSuchMethodException -
testCompositeStrategyDoPrivilegedWhenSecurityManagerUnsupported
@Test public void testCompositeStrategyDoPrivilegedWhenSecurityManagerUnsupported() -
testCompositeStrategyCurrentWhenSecurityManagerUnsupported
@Test public void testCompositeStrategyCurrentWhenSecurityManagerUnsupported() -
testCompositeStrategyCallAsWhenSecurityManagerUnsupported
@Test public void testCompositeStrategyCallAsWhenSecurityManagerUnsupported()
-