public class AddChannelBindingsToAssertionsTest
extends org.opensaml.core.OpenSAMLInitBaseTestCase
AddChannelBindingsToAssertions unit test.| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.profile.impl.AddChannelBindingsToAssertions |
action |
private org.opensaml.saml.common.messaging.context.ChannelBindingsContext |
cbc |
| Constructor and Description |
|---|
AddChannelBindingsToAssertionsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testMultipleAssertion()
Test that the advice is properly added if there are multiple assertions in the response.
|
void |
testNoAssertion()
Test that action errors out properly if there is no assertion in the response.
|
void |
testNoBindings()
Test that action does nothing if there are no bindings.
|
void |
testNoResponse()
Test that action errors out properly if there is no response.
|
void |
testSingleAssertion()
Test that the advice is properly added if there is a single assertion, without an Advice element, in the
response.
|
void |
testSingleAssertionWithExistingCondition()
Test that the advice is properly added if there is a single assertion, with an Advice element, in the
response.
|
private org.opensaml.saml.saml2.profile.impl.AddChannelBindingsToAssertions action
public void setUp()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testNoResponse()
public void testNoBindings()
public void testNoAssertion()
public void testSingleAssertion()
public void testSingleAssertionWithExistingCondition()
public void testMultipleAssertion()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.