public class SAML2HTTPRedirectDeflateSignatureRule extends BaseSAMLSimpleSignatureSecurityPolicyRule
Constructor and Description |
---|
SAML2HTTPRedirectDeflateSignatureRule(org.opensaml.xml.signature.SignatureTrustEngine engine)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
getSignedContent(javax.servlet.http.HttpServletRequest request)
Get the content over which to validate the signature, in the form suitable for input into
SignatureTrustEngine.validate(byte[], byte[], String, CriteriaSet, Credential) . |
protected boolean |
ruleHandles(javax.servlet.http.HttpServletRequest request,
SAMLMessageContext samlMsgCtx)
Determine whether the rule should handle the request, based on the unwrapped HTTP servlet request and/or message
context.
|
buildCriteriaSet, deriveSignerEntityID, evaluate, getRequestCredentials, getSignature, getSignatureAlgorithm, getTrustEngine, validateSignature
public SAML2HTTPRedirectDeflateSignatureRule(org.opensaml.xml.signature.SignatureTrustEngine engine)
engine
- the trust engine to useprotected boolean ruleHandles(javax.servlet.http.HttpServletRequest request, SAMLMessageContext samlMsgCtx) throws org.opensaml.ws.security.SecurityPolicyException
ruleHandles
in class BaseSAMLSimpleSignatureSecurityPolicyRule
request
- the HTTP servlet request being processedsamlMsgCtx
- the SAML message context being processedorg.opensaml.ws.security.SecurityPolicyException
- thrown if there is an error during request processingprotected byte[] getSignedContent(javax.servlet.http.HttpServletRequest request) throws org.opensaml.ws.security.SecurityPolicyException
SignatureTrustEngine.validate(byte[], byte[], String, CriteriaSet, Credential)
.getSignedContent
in class BaseSAMLSimpleSignatureSecurityPolicyRule
request
- the HTTP servlet request being processedorg.opensaml.ws.security.SecurityPolicyException
- thrown if there is an error during request processingCopyright © 1999-2013. All Rights Reserved.