public class AddProxyRestrictionToAssertionsTest
extends org.opensaml.core.OpenSAMLInitBaseTestCase
AddProxyRestrictionToAssertions unit test.| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.profile.impl.AddProxyRestrictionToAssertions |
action |
private static String |
AUDIENCE1 |
private static String |
AUDIENCE2 |
| Constructor and Description |
|---|
AddProxyRestrictionToAssertionsTest() |
| 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 behaves properly if there is no assertion in the response.
|
void |
testNoResponse()
Test that action errors out properly if there is no response.
|
void |
testSingleAssertion()
Test that the condition is properly added if there is a single assertion, without a Conditions element, in the
response.
|
void |
testSingleAssertionWithExistingCondition()
Test that the condition is properly added if there is a single assertion, with a Conditions element, in the
response.
|
private static final String AUDIENCE1
private static final String AUDIENCE2
private org.opensaml.saml.saml2.profile.impl.AddProxyRestrictionToAssertions action
public void setUp()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testNoResponse()
throws Exception
Exceptionpublic void testNoAssertion()
throws Exception
Exceptionpublic void testSingleAssertion()
throws Exception
Exceptionpublic void testSingleAssertionWithExistingCondition()
throws Exception
ExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.