Class SAML1ActionSupportTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.saml.saml1.profile.SAML1ActionSupportTest
-
public class SAML1ActionSupportTest extends org.opensaml.core.testing.OpenSAMLInitBaseTestCaseSAML1ActionSupportunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,RelyingPartyContext>relyingPartyContextLookupStrategyStrategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.
-
Constructor Summary
Constructors Constructor Description SAML1ActionSupportTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAddAssertionToResponse()Test that when an assertion is added to response it goes there.voidtestAddConditionsToAssertion()Test that only one Conditions is added to an assertion.
-
-
-
Field Detail
-
relyingPartyContextLookupStrategy
private Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategy
Strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.
-
-
Method Detail
-
testAddAssertionToResponse
public void testAddAssertionToResponse() throws ComponentInitializationExceptionTest that when an assertion is added to response it goes there.- Throws:
ComponentInitializationException- if we cannot setup our environment.
-
testAddConditionsToAssertion
public void testAddConditionsToAssertion() throws ComponentInitializationExceptionTest that only one Conditions is added to an assertion.- Throws:
ComponentInitializationException- if problems setting up our environment .
-
-