public class SAML2LogoutValidator extends AbstractSAML2ResponseValidator
acceptedSkew, decrypter, logger, logoutHandler, signatureTrustEngineProvider, uriComparator| Constructor and Description |
|---|
SAML2LogoutValidator(SAML2SignatureTrustEngineProvider engine,
org.opensaml.saml.saml2.encryption.Decrypter decrypter,
LogoutHandler logoutHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
setMaximumAuthenticationLifetime(int maximumAuthenticationLifetime) |
Credentials |
validate(SAML2MessageContext context)
Validates the SAML protocol logout request/response.
|
protected void |
validateLogoutRequest(org.opensaml.saml.saml2.core.LogoutRequest logoutRequest,
SAML2MessageContext context,
org.opensaml.xmlsec.signature.support.SignatureTrustEngine engine)
Validates the SAML logout request.
|
protected void |
validateLogoutResponse(org.opensaml.saml.saml2.core.LogoutResponse logoutResponse,
SAML2MessageContext context,
org.opensaml.xmlsec.signature.support.SignatureTrustEngine engine)
Validates the SAML logout response.
|
computeSloKey, decryptEncryptedId, isDateValid, isIssueInstantValid, setAcceptedSkew, validateIssueInstant, validateIssuer, validateIssuerIfItExists, validateSignature, validateSignatureIfItExists, validateSuccess, verifyEndpointpublic SAML2LogoutValidator(SAML2SignatureTrustEngineProvider engine, org.opensaml.saml.saml2.encryption.Decrypter decrypter, LogoutHandler logoutHandler)
public Credentials validate(SAML2MessageContext context)
context - the contextprotected void validateLogoutRequest(org.opensaml.saml.saml2.core.LogoutRequest logoutRequest,
SAML2MessageContext context,
org.opensaml.xmlsec.signature.support.SignatureTrustEngine engine)
logoutRequest - the logout requestcontext - the contextengine - the signature engineprotected void validateLogoutResponse(org.opensaml.saml.saml2.core.LogoutResponse logoutResponse,
SAML2MessageContext context,
org.opensaml.xmlsec.signature.support.SignatureTrustEngine engine)
logoutResponse - the logout responsecontext - the contextengine - the signature enginepublic final void setMaximumAuthenticationLifetime(int maximumAuthenticationLifetime)
Copyright © 2019. All Rights Reserved.