public class HTTPRedirectDeflateDecoder extends BaseSAML2MessageDecoder
Constructor and Description |
---|
HTTPRedirectDeflateDecoder()
Constructor.
|
HTTPRedirectDeflateDecoder(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(MessageContext messageContext)
Decodes a message, updating the message context.
|
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, populateRelyingPartyMetadata
checkEndpointURI, compareEndpointURIs, getActualReceiverEndpointURI, getURIComparator, setURIComparator
getParserPool, logDecodedMessage, processSecurityPolicy, setParserPool, unmarshallMessage
public HTTPRedirectDeflateDecoder()
public HTTPRedirectDeflateDecoder(ParserPool pool)
pool
- parser pool used to deserialize messagespublic String getBindingURI()
protected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired
in class BaseSAMLMessageDecoder
samlMsgCtx
- current SAML message contextprotected void doDecode(MessageContext messageContext) throws MessageDecodingException
doDecode
in class BaseMessageDecoder
messageContext
- current message contextMessageDecodingException
- thrown if there is a problem decoding the messageprotected 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 BaseSAMLMessageDecoder
messageContext
- current message contextprotected InputStream decodeMessage(String message) throws MessageDecodingException
message
- Base64 encoded, DEFALTE compressed, SAML messageMessageDecodingException
- thrown if the message can not be decodedCopyright © 2014 JBoss by Red Hat. All Rights Reserved.