Package org.pac4j.saml.profile.api
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 TypeMethodDescriptionvoid
setAcceptedSkew
(long acceptedSkew) org.pac4j.core.credentials.Credentials
validate
(SAML2MessageContext context) Validates the SAML protocol response and the SAML SSO response.
-
Method Details
-
validate
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)
-