public class HTTPRedirectDeflateDecoder extends BaseSAML2MessageDecoder
| Constructor and Description |
|---|
HTTPRedirectDeflateDecoder()
Constructor.
|
HTTPRedirectDeflateDecoder(org.opensaml.xml.parse.ParserPool pool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected InputStream |
decodeMessage(String message)
Base64 decodes the SAML message and then decompresses the message.
|
protected void |
doDecode(org.opensaml.ws.message.MessageContext messageContext) |
String |
getBindingURI()
Gets the SAML binding URI supported by this decoder.
|
protected boolean |
isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
Determine whether the binding implemented by the decoder requires the presence within the message
of information indicating the intended message destination endpoint URI.
|
protected boolean |
isMessageSigned(SAMLMessageContext messageContext)
Determine whether the SAML message represented by the message context is digitally signed.
|
decode, extractEntityId, extractRequestInfo, extractResponseInfo, getIntendedDestinationEndpointURI, populateMessageContext, populateMessageIdIssueInstantIssuer, populateRelyingPartyMetadatacheckEndpointURI, compareEndpointURIs, getActualReceiverEndpointURI, getURIComparator, setURIComparatorpublic HTTPRedirectDeflateDecoder()
public HTTPRedirectDeflateDecoder(org.opensaml.xml.parse.ParserPool pool)
pool - parser pool used to deserialize messagespublic String getBindingURI()
protected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired in class BaseSAMLMessageDecodersamlMsgCtx - current SAML message contextprotected void doDecode(org.opensaml.ws.message.MessageContext messageContext)
throws org.opensaml.ws.message.decoder.MessageDecodingException
doDecode in class org.opensaml.ws.message.decoder.BaseMessageDecoderorg.opensaml.ws.message.decoder.MessageDecodingExceptionprotected boolean isMessageSigned(SAMLMessageContext messageContext)
The default behavior is to examine whether an XML signature is present on the SAML protocol message. Subclasses may augment or replace with binding-specific behavior.
isMessageSigned in class BaseSAMLMessageDecodermessageContext - current message contextprotected InputStream decodeMessage(String message) throws org.opensaml.ws.message.decoder.MessageDecodingException
message - Base64 encoded, DEFALTE compressed, SAML messageorg.opensaml.ws.message.decoder.MessageDecodingException - thrown if the message can not be decodedCopyright © 1999–2015. All rights reserved.