Class NamedKeyInfoGeneratorManagerTest

java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.keyinfo.impl.NamedKeyInfoGeneratorManagerTest

public class NamedKeyInfoGeneratorManagerTest extends org.opensaml.core.testing.XMLObjectBaseTestCase
Test the NamedKeyInfoGeneratorFactory manager.
  • Field Details

  • Constructor Details

    • NamedKeyInfoGeneratorManagerTest

      public NamedKeyInfoGeneratorManagerTest()
  • Method Details

    • setUp

      @BeforeMethod protected void setUp() throws Exception
      Throws:
      Exception
    • testRegister

      public void testRegister()
      Test factory registration.
    • testDeregister

      public void testDeregister()
      Test factory de-registration.
    • testGetManagerNames

      public void testGetManagerNames()
      Test access to manager names, and that can not be modified.
    • testGetManagerByName

      public void testGetManagerByName()
      Test that obtaining a manager by name works.
    • testRemoveManagerByName

      public void testRemoveManagerByName()
      Remove a manager by name.
    • testRegisterDefaultFactory

      public void testRegisterDefaultFactory()
      Test registering a factory in the default unnamed manager.
    • testDeregisterDefaultFactory

      public void testDeregisterDefaultFactory()
      Test de-registering a factory in the default unnamed manager.
    • testLookupFactory

      public void testLookupFactory() throws IOException
      Test lookup of factory from manager based on a credential instance.
      Throws:
      IOException - ...
    • testFallThroughToDefaultManager

      public void testFallThroughToDefaultManager() throws IOException
      Test proper functioning of option to use the default manager for unnamed factories.
      Throws:
      IOException - ...