|
||||||||||
| 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.
| Field Summary | |
|---|---|
private org.slf4j.Logger |
log
Class logger. |
| Constructor Summary | |
|---|---|
HTTPRedirectDeflateDecoder()
Constructor. |
|
HTTPRedirectDeflateDecoder(ParserPool pool)
Constructor. |
|
| Method Summary | |
|---|---|
protected InputStream |
decodeMessage(String message)
Base64 decodes the SAML message and then decompresses the message. |
protected void |
doDecode(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. |
| 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 |
| Field Detail |
|---|
private final org.slf4j.Logger log
| Constructor Detail |
|---|
public HTTPRedirectDeflateDecoder()
public HTTPRedirectDeflateDecoder(ParserPool pool)
pool - parser pool used to deserialize messages| Method Detail |
|---|
public String getBindingURI()
protected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired in class BaseSAMLMessageDecodersamlMsgCtx - current SAML message context
protected void doDecode(MessageContext messageContext)
throws MessageDecodingException
doDecode in class BaseMessageDecoderMessageDecodingExceptionprotected 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 InputStream decodeMessage(String message)
throws MessageDecodingException
message - Base64 encoded, DEFALTE compressed, SAML message
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 | |||||||||