Class SamlProviderConfiguration

java.lang.Object
org.mockserver.saml.SamlProviderConfiguration
All Implemented Interfaces:
Serializable

public class SamlProviderConfiguration extends Object implements Serializable
Configuration for the SAML 2.0 mock identity provider. All fields are optional with sensible defaults so that PUT /mockserver/saml with an empty body produces a fully functional mock IdP: a metadata endpoint and an SSO endpoint implementing the SP-initiated Web-Browser-SSO POST profile.

If signingCertificatePem / signingPrivateKeyPem are not supplied a self-signed RSA signing credential is generated, and its certificate is published in the IdP metadata so the relying party (SP) can validate the XML signature.

See Also: