Class SamlConditionsTest

    • Constructor Detail

      • SamlConditionsTest

        public SamlConditionsTest()
    • Method Detail

      • testSAML1ConditionsOutbound

        @Test
        public void testSAML1ConditionsOutbound()
                                         throws Exception
        Test that creates, sends and processes an unsigned SAML 1.1 authentication assertion with a custom Conditions statement.
        Throws:
        Exception
      • testSAML1ConditionsInbound

        @Test
        public void testSAML1ConditionsInbound()
                                        throws Exception
        Test that creates, sends and processes an unsigned SAML 1.1 authentication assertion with a custom Conditions statement.
        Throws:
        Exception
      • testSAML2InvalidAfterConditionsInbound

        @Test
        public void testSAML2InvalidAfterConditionsInbound()
                                                    throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion with an (invalid) custom Conditions statement.
        Throws:
        Exception
      • testSAML2StaleNotOnOrAfter

        @Test
        public void testSAML2StaleNotOnOrAfter()
                                        throws Exception
        Throws:
        Exception
      • testSAML2FutureNotBefore

        @Test
        public void testSAML2FutureNotBefore()
                                      throws Exception
        Throws:
        Exception
      • testSAML2InvalidBeforeConditionsInbound

        @Test
        public void testSAML2InvalidBeforeConditionsInbound()
                                                     throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion with an (invalid) custom Conditions statement.
        Throws:
        Exception
      • testSAML2FutureTTLConditions

        @Test
        public void testSAML2FutureTTLConditions()
                                          throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion with a Conditions statement that has a NotBefore "in the future".
        Throws:
        Exception
      • testSAML2OneTimeUse

        @Test
        public void testSAML2OneTimeUse()
                                 throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion with a OneTimeUse Element
        Throws:
        Exception
      • testSAML2ProxyRestriction

        @Test
        public void testSAML2ProxyRestriction()
                                       throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion with a ProxyRestriction Element
        Throws:
        Exception
      • testSAML2AudienceRestriction

        @Test
        public void testSAML2AudienceRestriction()
                                          throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion with an AudienceRestriction Element
        Throws:
        Exception
      • testSAML2AudienceRestrictionValidation

        @Test
        public void testSAML2AudienceRestrictionValidation()
                                                    throws Exception
        Throws:
        Exception
      • testSAML1AudienceRestrictionValidation

        @Test
        public void testSAML1AudienceRestrictionValidation()
                                                    throws Exception
        Throws:
        Exception
      • testSAML2AudienceRestrictionSeparateRestrictions

        @Test
        public void testSAML2AudienceRestrictionSeparateRestrictions()
                                                              throws Exception
        Test that creates, sends and processes an unsigned SAML 2 authentication assertion with two AudienceRestriction Elements
        Throws:
        Exception
      • testSAML1AudienceRestrictionSeparateRestrictionsValidation

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