Interface SAML2ResponseValidator

All Known Implementing Classes:
AbstractSAML2ResponseValidator, SAML2AuthnResponseValidator, SAML2LogoutValidator

public interface SAML2ResponseValidator
Defines operations needed to validate the response from IdP.
Since:
1.7
Author:
Misagh Moayyed
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setAcceptedSkew(long acceptedSkew)
    setAcceptedSkew.
    org.pac4j.core.credentials.Credentials
    Validates the SAML protocol response and the SAML SSO response.
  • Method Details

    • validate

      org.pac4j.core.credentials.Credentials validate(SAML2MessageContext context)
      Validates the SAML protocol response and the SAML SSO response. The method decrypt encrypted assertions if any.
      Parameters:
      context - the context
      Returns:
      the SAML credentials
    • setAcceptedSkew

      void setAcceptedSkew(long acceptedSkew)

      setAcceptedSkew.

      Parameters:
      acceptedSkew - a long