org.opensaml.saml2.binding.decoding
public class HTTPSOAP11Decoder extends BaseSAML2MessageDecoder
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Class logger.
|
private QName |
soapMustUnderstand
QName of SOAP mustUnderstand header attribute.
|
private List<QName> |
understoodHeaders
QNames of understood SOAP headers.
|
Constructor and Description |
---|
HTTPSOAP11Decoder()
Constructor.
|
HTTPSOAP11Decoder(ParserPool pool)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkUnderstoodSOAPHeaders(List<XMLObject> headers)
Checks that, if any SOAP headers, require understand that they are in the understood header list.
|
protected void |
doDecode(MessageContext messageContext) |
String |
getBindingURI()
Gets the SAML binding URI supported by this decoder.
|
List<QName> |
getUnderstoodHeaders()
Gets the SOAP header names that are understood by the application.
|
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.
|
void |
setUnderstoodHeaders(List<QName> headerNames)
Sets the SOAP header names that are understood by the application.
|
decode, extractEntityId, extractRequestInfo, extractResponseInfo, getIntendedDestinationEndpointURI, populateMessageContext, populateMessageIdIssueInstantIssuer, populateRelyingPartyMetadata
checkEndpointURI, compareEndpointURIs, getActualReceiverEndpointURI, getURIComparator, isMessageSigned, setURIComparator
getParserPool, logDecodedMessage, processSecurityPolicy, setParserPool, unmarshallMessage
private final org.slf4j.Logger log
private final QName soapMustUnderstand
public HTTPSOAP11Decoder()
public HTTPSOAP11Decoder(ParserPool pool)
pool
- parser pool used to deserialize messagespublic String getBindingURI()
protected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired
in class BaseSAMLMessageDecoder
samlMsgCtx
- current SAML message contextpublic List<QName> getUnderstoodHeaders()
public void setUnderstoodHeaders(List<QName> headerNames)
headerNames
- SOAP header names that are understood by the applicationprotected void doDecode(MessageContext messageContext) throws MessageDecodingException
doDecode
in class BaseMessageDecoder
MessageDecodingException
protected void checkUnderstoodSOAPHeaders(List<XMLObject> headers) throws MessageDecodingException
headers
- SOAP headers to checkMessageDecodingException
- thrown if a SOAP header requires understanding but is not understood by the
decoderCopyright © 1999-2013 JBoss by Red Hat. All Rights Reserved.