public class AddNotBeforeConditionToAssertionsTest
extends org.opensaml.core.OpenSAMLInitBaseTestCase
AddNotBeforeConditionToAssertions unit test.| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.common.profile.impl.AddNotBeforeConditionToAssertions |
action |
private ProfileRequestContext |
prc |
| Constructor and Description |
|---|
AddNotBeforeConditionToAssertionsTest() |
| 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.AddNotBeforeConditionToAssertions action
public AddNotBeforeConditionToAssertionsTest()
public void setUp()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testNoResponse()
public void testNoAssertion()
public void testSingleAssertion()
public void testSingleAssertionWithExistingConditions()
public void testMultipleAssertion()
public void testSAML2Assertion()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.