public class SAML2LogoutResponseValidator extends java.lang.Object implements SAML2ResponseValidator
Constructor and Description |
---|
SAML2LogoutResponseValidator(SAML2SignatureTrustEngineProvider engine) |
SAML2LogoutResponseValidator(SAML2SignatureTrustEngineProvider engine,
net.shibboleth.utilities.java.support.net.URIComparator uriComparator) |
Modifier and Type | Method and Description |
---|---|
void |
setAcceptedSkew(int acceptedSkew) |
void |
setMaximumAuthenticationLifetime(int maximumAuthenticationLifetime) |
Credentials |
validate(SAML2MessageContext context)
Validates the SAML protocol response and the SAML SSO response.
|
protected void |
validateIssuer(org.opensaml.saml.saml2.core.Issuer issuer,
SAML2MessageContext context)
Validate issuer format and value.
|
protected void |
validateSamlProtocolResponse(org.opensaml.saml.saml2.core.Response response,
SAML2MessageContext context,
org.opensaml.xmlsec.signature.support.SignatureTrustEngine engine)
Validates the SAML protocol response:
- IssueInstant
- Issuer
- StatusCode
- Signature
|
protected void |
validateSignature(org.opensaml.xmlsec.signature.Signature signature,
java.lang.String idpEntityId,
org.opensaml.xmlsec.signature.support.SignatureTrustEngine trustEngine)
Validate the given digital signature by checking its profile and value.
|
protected void |
verifyEndpoint(org.opensaml.saml.saml2.metadata.Endpoint endpoint,
java.lang.String destination) |
public SAML2LogoutResponseValidator(SAML2SignatureTrustEngineProvider engine)
public SAML2LogoutResponseValidator(SAML2SignatureTrustEngineProvider engine, net.shibboleth.utilities.java.support.net.URIComparator uriComparator)
public Credentials validate(SAML2MessageContext context)
validate
in interface SAML2ResponseValidator
context
- the contextprotected final void validateSamlProtocolResponse(org.opensaml.saml.saml2.core.Response response, SAML2MessageContext context, org.opensaml.xmlsec.signature.support.SignatureTrustEngine engine)
response
- the responsecontext
- the contextengine
- the engineprotected final void verifyEndpoint(org.opensaml.saml.saml2.metadata.Endpoint endpoint, java.lang.String destination)
protected final void validateIssuer(org.opensaml.saml.saml2.core.Issuer issuer, SAML2MessageContext context)
issuer
- the issuercontext
- the contextprotected final void validateSignature(org.opensaml.xmlsec.signature.Signature signature, java.lang.String idpEntityId, org.opensaml.xmlsec.signature.support.SignatureTrustEngine trustEngine)
signature
- the signatureidpEntityId
- the idp entity idtrustEngine
- the trust enginepublic final void setAcceptedSkew(int acceptedSkew)
setAcceptedSkew
in interface SAML2ResponseValidator
public final void setMaximumAuthenticationLifetime(int maximumAuthenticationLifetime)
setMaximumAuthenticationLifetime
in interface SAML2ResponseValidator
Copyright © 2018. All Rights Reserved.