Class SAML1ActionTestingSupport
- java.lang.Object
-
- org.opensaml.saml.saml1.testing.SAML1ActionTestingSupport
-
- net.shibboleth.idp.saml.saml1.profile.SAML1ActionTestingSupport
-
public final class SAML1ActionTestingSupport extends org.opensaml.saml.saml1.testing.SAML1ActionTestingSupportHelper methods for creating/testing SAML 1 objects within profile action tests. When methods herein refer to mock objects they are always objects that have been created via Mockito unless otherwise noted.
-
-
Constructor Summary
Constructors Constructor Description SAML1ActionTestingSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<ProfileConfiguration>buildProfileConfigurations()Builds aProfileConfigurationcollection containing aArtifactResolutionProfileConfiguration,AttributeQueryProfileConfiguration, andArtifactResolutionProfileConfiguration.static RelyingPartyContextbuildRelyingPartySubcontext(BaseContext parent, String relyingPartyId)Builds aRelyingPartyContextthat is a child of the given parent context.
-
-
-
Method Detail
-
buildRelyingPartySubcontext
public static RelyingPartyContext buildRelyingPartySubcontext(@Nonnull BaseContext parent, @Nullable String relyingPartyId) throws ComponentInitializationException
Builds aRelyingPartyContextthat is a child of the given parent context. The build subcontext contains:- a
RelyingPartyConfigurationwhose ID is the given relying party ID orActionTestingSupport.INBOUND_MSG_ISSUERif none is given - the set of
ProfileConfigurationcreated bybuildProfileConfigurations() - the
BrowserSSOProfileConfigurationset as the active profile configuration
- Parameters:
parent- the parent of the created subcontextrelyingPartyId- the ID of the relying party- Returns:
- the constructed subcontext
- Throws:
ComponentInitializationException- ...
- a
-
buildProfileConfigurations
public static Collection<ProfileConfiguration> buildProfileConfigurations()
Builds aProfileConfigurationcollection containing aArtifactResolutionProfileConfiguration,AttributeQueryProfileConfiguration, andArtifactResolutionProfileConfiguration.- Returns:
- the constructed
ProfileConfiguration
-
-