public class SAML2HTTPRedirectDeflateSignatureRule extends BaseSAMLSimpleSignatureSecurityPolicyRule
Constructor and Description |
---|
SAML2HTTPRedirectDeflateSignatureRule(SignatureTrustEngine engine)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
getSignedContent(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(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(SignatureTrustEngine engine)
engine
- the trust engine to useprotected boolean ruleHandles(HttpServletRequest request, SAMLMessageContext samlMsgCtx) throws SecurityPolicyException
ruleHandles
in class BaseSAMLSimpleSignatureSecurityPolicyRule
request
- the HTTP servlet request being processedsamlMsgCtx
- the SAML message context being processedSecurityPolicyException
- thrown if there is an error during request processingprotected byte[] getSignedContent(HttpServletRequest request) throws SecurityPolicyException
SignatureTrustEngine.validate(byte[], byte[], String, CriteriaSet, Credential)
.getSignedContent
in class BaseSAMLSimpleSignatureSecurityPolicyRule
request
- the HTTP servlet request being processedSecurityPolicyException
- thrown if there is an error during request processingCopyright © 2013 JBoss by Red Hat. All Rights Reserved.