public class SAML2HTTPRedirectDeflateSignatureSecurityHandler extends BaseSAMLSimpleSignatureSecurityHandler
| Constructor and Description |
|---|
SAML2HTTPRedirectDeflateSignatureSecurityHandler() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
appendParameter(StringBuilder builder,
String queryString,
String paramName)
Find the raw query string parameter indicated and append it to the string builder.
|
private String |
buildSignedContentString(String queryString)
Extract the raw request parameters and build a string representation of the content that was signed.
|
protected byte[] |
getSignedContent()
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(org.opensaml.messaging.context.MessageContext<SAMLObject> messgaeContext)
Determine whether the rule should handle the request, based on the unwrapped HTTP servlet request and/or message
context.
|
buildCriteriaSet, deriveSignerEntityID, doInitialize, doInvoke, doPreInvoke, getHttpServletRequest, getRequestCredentials, getSAMLProtocolContext, getSignature, getSignatureAlgorithm, getTrustEngine, setHttpServletRequest, setTrustEngine, validateSignaturedoPostInvoke, doPostInvoke, getLogPrefix, invokedestroy, doDestroy, initialize, isDestroyed, isInitializedprivate final Logger log
public SAML2HTTPRedirectDeflateSignatureSecurityHandler()
protected boolean ruleHandles(org.opensaml.messaging.context.MessageContext<SAMLObject> messgaeContext) throws org.opensaml.messaging.handler.MessageHandlerException
ruleHandles in class BaseSAMLSimpleSignatureSecurityHandlermessgaeContext - the SAML message context being processedorg.opensaml.messaging.handler.MessageHandlerException - thrown if there is an error during request processingprotected byte[] getSignedContent()
throws org.opensaml.messaging.handler.MessageHandlerException
SignatureTrustEngine.validate(byte[], byte[], String, CriteriaSet, Credential).getSignedContent in class BaseSAMLSimpleSignatureSecurityHandlerorg.opensaml.messaging.handler.MessageHandlerException - thrown if there is an error during request processingprivate String buildSignedContentString(String queryString) throws org.opensaml.messaging.handler.MessageHandlerException
queryString - the raw HTTP query string from the requestorg.opensaml.messaging.handler.MessageHandlerException - thrown if there is an error during request processingprivate boolean appendParameter(StringBuilder builder, String queryString, String paramName)
builder - string builder to which to append the parameterqueryString - the URL query string containing parametersparamName - the name of the parameter to appendCopyright © 1999–2014. All rights reserved.