Class AddAudienceRestrictionToAssertionsTest

    • Constructor Detail

      • AddAudienceRestrictionToAssertionsTest

        public AddAudienceRestrictionToAssertionsTest()
    • Method Detail

      • testNoResponse

        public void testNoResponse()
                            throws Exception
        Test that action errors out properly if there is no response.
        Throws:
        Exception - if something goes wrong
      • testNoAssertion

        public void testNoAssertion()
                             throws Exception
        Test that action behaves properly if there is no assertion in the response.
        Throws:
        Exception - if something goes wrong
      • testSingleAssertion

        public void testSingleAssertion()
                                 throws Exception
        Test that the condition is properly added if there is a single assertion, without a Conditions element, in the response.
        Throws:
        Exception - if something goes wrong
      • testSingleAssertionWithExistingCondition

        public void testSingleAssertionWithExistingCondition()
                                                      throws Exception
        Test that the condition is properly added if there is a single assertion, with a Conditions element, in the response.
        Throws:
        Exception - if something goes wrong
      • testSingleAssertionWithExistingAudienceCondition

        public void testSingleAssertionWithExistingAudienceCondition()
                                                              throws Exception
        Test that an addition condition is not added if an assertion already contains one.
        Throws:
        Exception - if something goes wrong
      • testMultipleAssertion

        public void testMultipleAssertion()
                                   throws Exception
        Test that the condition is properly added if there are multiple assertions in the response.
        Throws:
        Exception - if something goes wrong
      • testSAML2Assertion

        public void testSAML2Assertion()
                                throws Exception
        Test that the condition is properly added if there is a single assertion, without a Conditions element, in the response.
        Throws:
        Exception - if something goes wrong