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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setAcceptedSkew(int acceptedSkew)
void
setMaximumAuthenticationLifetime(int maximumAuthenticationLifetime)
Credentials
validate(SAML2MessageContext context)
Validates the SAML protocol response and the SAML SSO response.
-
-
-
Method Detail
-
validate
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
-
setMaximumAuthenticationLifetime
void setMaximumAuthenticationLifetime(int maximumAuthenticationLifetime)
-
setAcceptedSkew
void setAcceptedSkew(int acceptedSkew)
-
-