Class SecurityManagerCompatibilityTest

java.lang.Object
org.apache.kafka.common.internals.SecurityManagerCompatibilityTest

public class SecurityManagerCompatibilityTest extends Object
  • Constructor Details

    • SecurityManagerCompatibilityTest

      public SecurityManagerCompatibilityTest()
  • Method Details

    • testLegacyStrategyLoadable

      @EnabledForJreRange(max=JAVA_22) @Test public void testLegacyStrategyLoadable() throws ClassNotFoundException, NoSuchMethodException
      Throws:
      ClassNotFoundException
      NoSuchMethodException
    • testModernStrategyLoadable

      @EnabledForJreRange(min=JAVA_18) @Test public void testModernStrategyLoadable() throws ClassNotFoundException, NoSuchMethodException
      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
      Throws:
      ClassNotFoundException
      NoSuchMethodException
    • testCompositeStrategyLoadableWhenSecurityManagerRemoved

      @Test public void testCompositeStrategyLoadableWhenSecurityManagerRemoved()
    • testLegacyStrategyCurrentThrowsWhenSecurityManagerUnsupported

      @Test public void testLegacyStrategyCurrentThrowsWhenSecurityManagerUnsupported() throws ClassNotFoundException, NoSuchMethodException
      Throws:
      ClassNotFoundException
      NoSuchMethodException
    • testLegacyStrategyCallAsThrowsWhenSecurityManagerUnsupported

      @Test public void testLegacyStrategyCallAsThrowsWhenSecurityManagerUnsupported() throws ClassNotFoundException, NoSuchMethodException
      Throws:
      ClassNotFoundException
      NoSuchMethodException
    • testCompositeStrategyDoPrivilegedWhenSecurityManagerUnsupported

      @Test public void testCompositeStrategyDoPrivilegedWhenSecurityManagerUnsupported()
    • testCompositeStrategyCurrentWhenSecurityManagerUnsupported

      @Test public void testCompositeStrategyCurrentWhenSecurityManagerUnsupported()
    • testCompositeStrategyCallAsWhenSecurityManagerUnsupported

      @Test public void testCompositeStrategyCallAsWhenSecurityManagerUnsupported()