Package org.mockserver.saml


package org.mockserver.saml
  • Classes
    Class
    Description
    In-memory state backing the mock SAML SSO flow.
    Immutable description of a generated mock SAML IdP, holding everything the SSO callback needs to mint and sign a fresh Response per request.
    Builds and enveloped-signs a SAML 2.0 <LogoutResponse> for the Single-Logout (SLO) HTTP-POST profile, using only the JDK XML APIs and the JDK XML Digital Signature API (no OpenSAML dependency), mirroring SamlResponseBuilder.
    Configuration for the SAML 2.0 mock identity provider.
    Generates MockServer Expectations that stand up a complete mock SAML 2.0 Identity Provider implementing the SP-initiated Web-Browser-SSO POST profile, so applications using SAML SSO can be tested without a real IdP.
    Builds and enveloped-signs a SAML 2.0 <Response> document using only the JDK XML APIs (javax.xml DOM) and the JDK XML Digital Signature API (javax.xml.crypto.dsig.*) — no OpenSAML/Shibboleth dependency.
    The RSA signing credential (private key + X.509 certificate) used to enveloped-sign SAML assertions and to publish the IdP signing certificate in the metadata.
    Mock SAML 2.0 IdP Single-Logout (SLO) endpoint implementing the HTTP-POST profile.
    Mock SAML 2.0 IdP Single-Sign-On endpoint implementing the SP-initiated Web-Browser-SSO POST profile.