public class AddNotOnOrAfterConditionToAssertionsTest
extends org.opensaml.core.OpenSAMLInitBaseTestCase
AddNotOnOrAfterConditionToAssertions unit test.| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.common.profile.impl.AddNotOnOrAfterConditionToAssertions |
action |
private ProfileRequestContext |
prc |
| Constructor and Description |
|---|
AddNotOnOrAfterConditionToAssertionsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testMultipleAssertion()
Test that the condition is properly added if there are multiple assertions in the response.
|
void |
testNoAssertion()
Test that action works properly if there is no assertion in the response.
|
void |
testNoResponse()
Test that action errors out properly if there is no response.
|
void |
testSAML2Assertion()
Test that the condition is properly added if there is a single assertion, without a Conditions element, in the
response.
|
void |
testSingleAssertion()
Test that the condition is properly added if there is a single assertion, without a Conditions element, in the
response.
|
void |
testSingleAssertionWithExistingConditions()
Test that the condition is properly added if there is a single assertion, with a Conditions element, in the
response.
|
private ProfileRequestContext prc
private org.opensaml.saml.common.profile.impl.AddNotOnOrAfterConditionToAssertions action
public AddNotOnOrAfterConditionToAssertionsTest()
public void setUp()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testNoResponse()
public void testNoAssertion()
public void testSingleAssertion()
public void testSingleAssertionWithExistingConditions()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testMultipleAssertion()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testSAML2Assertion()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.