Class ExtendedSAML2AuthnResponseValidator

  • All Implemented Interfaces:
    org.pac4j.saml.profile.api.SAML2ResponseValidator
    Direct Known Subclasses:
    ExtendedSAML2AuthnResponseValidator

    public class ExtendedSAML2AuthnResponseValidator
    extends org.pac4j.saml.sso.impl.SAML2AuthnResponseValidator
    Extension of the default pac4j SAML 2 Authn response validator.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    • Field Summary

      • Fields inherited from class org.pac4j.saml.profile.impl.AbstractSAML2ResponseValidator

        acceptedSkew, decrypter, logger, logoutHandler, replayCache, signatureTrustEngineProvider, uriComparator
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtendedSAML2AuthnResponseValidator​(org.pac4j.saml.crypto.SAML2SignatureTrustEngineProvider engine, org.opensaml.saml.saml2.encryption.Decrypter decrypter, org.pac4j.saml.replay.ReplayCacheProvider replayCache, org.pac4j.saml.config.SAML2Configuration saml2Configuration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.pac4j.saml.credentials.SAML2Credentials buildSAML2Credentials​(org.pac4j.saml.context.SAML2MessageContext context, org.opensaml.saml.saml2.core.Response response)  
      • Methods inherited from class org.pac4j.saml.sso.impl.SAML2AuthnResponseValidator

        collectAssertionAttributes, decryptEncryptedAssertions, determineNameID, getSessionIndex, isValidBearerSubjectConfirmationData, validate, validateAssertion, validateAssertionConditions, validateAssertionReplay, validateAssertionSignature, validateAudienceRestrictions, validateAuthenticationStatements, validateAuthnContextClassRefs, validateSamlProtocolResponse, validateSamlSSOResponse, validateSubject, verifyRequest
      • Methods inherited from class org.pac4j.saml.profile.impl.AbstractSAML2ResponseValidator

        compareEndpoints, computeSloKey, decryptEncryptedId, isDateValid, isIssueInstantValid, setAcceptedSkew, validateIssueInstant, validateIssuer, validateIssuerIfItExists, validateSignature, validateSignatureIfItExists, validateSuccess, verifyEndpoint, verifyMessageReplay
    • Constructor Detail

      • ExtendedSAML2AuthnResponseValidator

        public ExtendedSAML2AuthnResponseValidator​(org.pac4j.saml.crypto.SAML2SignatureTrustEngineProvider engine,
                                                   org.opensaml.saml.saml2.encryption.Decrypter decrypter,
                                                   org.pac4j.saml.replay.ReplayCacheProvider replayCache,
                                                   org.pac4j.saml.config.SAML2Configuration saml2Configuration)
    • Method Detail

      • buildSAML2Credentials

        protected org.pac4j.saml.credentials.SAML2Credentials buildSAML2Credentials​(org.pac4j.saml.context.SAML2MessageContext context,
                                                                                    org.opensaml.saml.saml2.core.Response response)
        Overrides:
        buildSAML2Credentials in class org.pac4j.saml.sso.impl.SAML2AuthnResponseValidator