Class SamlTokenHOKTest


  • public class SamlTokenHOKTest
    extends Object
    Test-case for sending and processing a signed (holder-of-key) SAML Assertion. These tests just cover the case of creating and signing the Assertion, and not using the credential information in the SAML Subject to sign the SOAP body.
    • Method Detail

      • testSAML1AuthnAssertion

        @Test
        public void testSAML1AuthnAssertion()
                                     throws Exception
        Test that creates, sends and processes a signed SAML 1.1 authentication assertion.
        Throws:
        Exception
      • testSAML1AttrAssertion

        @Test
        public void testSAML1AttrAssertion()
                                    throws Exception
        Test that creates, sends and processes a signed SAML 1.1 attribute assertion.
        Throws:
        Exception
      • testSAML2AuthnAssertion

        @Test
        public void testSAML2AuthnAssertion()
                                     throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion.
        Throws:
        Exception
      • testSAML2AttrAssertion

        @Test
        public void testSAML2AttrAssertion()
                                    throws Exception
        Test that creates, sends and processes an unsigned SAML 2 attribute assertion.
        Throws:
        Exception