Class SAMLTokenTest

    • Constructor Detail

      • SAMLTokenTest

        public SAMLTokenTest()
    • Method Detail

      • testSAML1AuthnAssertionOutbound

        @Test
        public void testSAML1AuthnAssertionOutbound()
                                             throws Exception
        Throws:
        Exception
      • testSAML1AuthnAssertionInbound

        @Test
        public void testSAML1AuthnAssertionInbound()
                                            throws Exception
        Throws:
        Exception
      • testSAML1AttrAssertionOutbound

        @Test
        public void testSAML1AttrAssertionOutbound()
                                            throws Exception
        Throws:
        Exception
      • testSAML1AttrAssertionInbound

        @Test
        public void testSAML1AttrAssertionInbound()
                                           throws Exception
        Throws:
        Exception
      • testSAML1AuthzAssertionOutbound

        @Test
        public void testSAML1AuthzAssertionOutbound()
                                             throws Exception
        Throws:
        Exception
      • testSAML1AuthzAssertionInbound

        @Test
        public void testSAML1AuthzAssertionInbound()
                                            throws Exception
        Throws:
        Exception
      • testSAML2AuthnAssertionOutbound

        @Test
        public void testSAML2AuthnAssertionOutbound()
                                             throws Exception
        Throws:
        Exception
      • testSAML2AuthnAssertionInbound

        @Test
        public void testSAML2AuthnAssertionInbound()
                                            throws Exception
        Throws:
        Exception
      • testSAML2AttrAssertionOutbound

        @Test
        public void testSAML2AttrAssertionOutbound()
                                            throws Exception
        Throws:
        Exception
      • testSAML2AttrAssertionInbound

        @Test
        public void testSAML2AttrAssertionInbound()
                                           throws Exception
        Throws:
        Exception
      • testSAML2AuthzAssertionOutbound

        @Test
        public void testSAML2AuthzAssertionOutbound()
                                             throws Exception
        Throws:
        Exception
      • testSAML2AuthzAssertionInbound

        @Test
        public void testSAML2AuthzAssertionInbound()
                                            throws Exception
        Throws:
        Exception
      • testSAML1SubjectNameIDFormatOutbound

        @Test
        public void testSAML1SubjectNameIDFormatOutbound()
                                                  throws Exception
        Test that creates, sends and processes an unsigned SAML 1.1 authentication assertion with a user-specified SubjectNameIDFormat.
        Throws:
        Exception
      • testSAML2SubjectNameIDFormatOutbound

        @Test
        public void testSAML2SubjectNameIDFormatOutbound()
                                                  throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion with a user-specified SubjectNameIDFormat.
        Throws:
        Exception
      • testSAML1SubjectLocalityOutbound

        @Test
        public void testSAML1SubjectLocalityOutbound()
                                              throws Exception
        Test that creates, sends and processes an unsigned SAML 1.1 authentication assertion with a user-specified SubjectLocality statement.
        Throws:
        Exception
      • testSAML2SubjectLocalityOutbound

        @Test
        public void testSAML2SubjectLocalityOutbound()
                                              throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion with a user-specified SubjectLocality statement.
        Throws:
        Exception
      • testSAML1ResourceOutbound

        @Test
        public void testSAML1ResourceOutbound()
                                       throws Exception
        Test that creates, sends and processes an unsigned SAML 1.1 authz assertion with a Resource URI
        Throws:
        Exception
      • testSAML2AttrAssertionCustomAttributeOutbound

        @Test
        public void testSAML2AttrAssertionCustomAttributeOutbound()
                                                           throws Exception
        Test that creates, sends and processes an unsigned SAML 2 attribute assertion. The attributeValue has a custom XMLObject (not a String) value.
        Throws:
        Exception
      • testSAML1AuthnAssertionPropertiesOutbound

        @Test
        public void testSAML1AuthnAssertionPropertiesOutbound()
                                                       throws Exception
        Throws:
        Exception
      • testSAML1AuthnAssertionPropertiesInbound

        @Test
        public void testSAML1AuthnAssertionPropertiesInbound()
                                                      throws Exception
        Throws:
        Exception
      • testSAML2EncryptedAssertion

        @Test
        public void testSAML2EncryptedAssertion()
                                         throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion, which is encrypted in a saml2:EncryptedAssertion Element in the security header
        Throws:
        Exception
      • testRequiredSubjectConfirmationMethod

        @Test
        public void testRequiredSubjectConfirmationMethod()
                                                   throws Exception
        Throws:
        Exception
      • testStandardSubjectConfirmationMethod

        @Test
        public void testStandardSubjectConfirmationMethod()
                                                   throws Exception
        Throws:
        Exception
      • testUnsignedBearer

        @Test
        public void testUnsignedBearer()
                                throws Exception
        Throws:
        Exception
      • testSAML2IssuerFormatOutbound

        @Test
        public void testSAML2IssuerFormatOutbound()
                                           throws Exception
        Throws:
        Exception