|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.ws.message.decoder.BaseMessageDecoder
org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder
org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder
org.opensaml.saml2.binding.decoding.HTTPRedirectDeflateDecoder
public class HTTPRedirectDeflateDecoder
SAML 2.0 HTTP Redirect decoder using the DEFLATE encoding method. This decoder only supports DEFLATE compression.
| Constructor Summary | |
|---|---|
HTTPRedirectDeflateDecoder()
Constructor. |
|
HTTPRedirectDeflateDecoder(org.opensaml.xml.parse.ParserPool pool)
Constructor. |
|
| Method Summary | |
|---|---|
protected java.io.InputStream |
decodeMessage(java.lang.String message)
Base64 decodes the SAML message and then decompresses the message. |
protected void |
doDecode(org.opensaml.ws.message.MessageContext messageContext)
|
java.lang.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. |
| Methods inherited from class org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder |
|---|
decode, extractEntityId, extractRequestInfo, extractResponseInfo, getIntendedDestinationEndpointURI, populateMessageContext, populateMessageIdIssueInstantIssuer, populateRelyingPartyMetadata |
| Methods inherited from class org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder |
|---|
checkEndpointURI, compareEndpointURIs, getActualReceiverEndpointURI, getURIComparator, setURIComparator |
| Methods inherited from class org.opensaml.ws.message.decoder.BaseMessageDecoder |
|---|
getParserPool, logDecodedMessage, processSecurityPolicy, setParserPool, unmarshallMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTTPRedirectDeflateDecoder()
public HTTPRedirectDeflateDecoder(org.opensaml.xml.parse.ParserPool pool)
pool - parser pool used to deserialize messages| Method Detail |
|---|
public java.lang.String getBindingURI()
protected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired in class BaseSAMLMessageDecodersamlMsgCtx - current SAML message context
protected 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 context
protected java.io.InputStream decodeMessage(java.lang.String message)
throws org.opensaml.ws.message.decoder.MessageDecodingException
message - Base64 encoded, DEFALTE compressed, SAML message
org.opensaml.ws.message.decoder.MessageDecodingException - thrown if the message can not be decoded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||