|
||||||||||
| 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.HTTPSOAP11Decoder
public class HTTPSOAP11Decoder
SAML 2.0 SOAP 1.1 over HTTP binding decoder.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
HTTPSOAP11Decoder()
Constructor. |
|
HTTPSOAP11Decoder(ParserPool pool)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| 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, isMessageSigned, 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
private List<QName> understoodHeaders
private final QName soapMustUnderstand
| Constructor Detail |
|---|
public HTTPSOAP11Decoder()
public HTTPSOAP11Decoder(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
public List<QName> getUnderstoodHeaders()
public void setUnderstoodHeaders(List<QName> headerNames)
headerNames - SOAP header names that are understood by the application
protected void doDecode(MessageContext messageContext)
throws MessageDecodingException
doDecode in class BaseMessageDecoderMessageDecodingException
protected void checkUnderstoodSOAPHeaders(List<XMLObject> headers)
throws MessageDecodingException
headers - SOAP headers to check
MessageDecodingException - thrown if a SOAP header requires understanding but is not understood by the
decoder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||