|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.ws.message.decoder.BaseMessageDecoder org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder org.opensaml.saml2.binding.decoding.HTTPPostDecoder
public class HTTPPostDecoder
Message decoder implementing the SAML 2.0 HTTP POST binding.
Field Summary | |
---|---|
private org.slf4j.Logger |
log
Class logger. |
Constructor Summary | |
---|---|
HTTPPostDecoder()
Constructor. |
|
HTTPPostDecoder(ParserPool pool)
Constructor. |
Method Summary | |
---|---|
protected void |
doDecode(MessageContext messageContext)
|
protected InputStream |
getBase64DecodedMessage(HTTPInTransport transport)
Gets the Base64 encoded message from the request and decodes it. |
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. |
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
Constructor Detail |
---|
public HTTPPostDecoder()
public HTTPPostDecoder(ParserPool pool)
pool
- parser pool used to deserialize messagesMethod Detail |
---|
public String getBindingURI()
protected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired
in class BaseSAMLMessageDecoder
samlMsgCtx
- current SAML message context
protected void doDecode(MessageContext messageContext) throws MessageDecodingException
doDecode
in class BaseMessageDecoder
MessageDecodingException
protected InputStream getBase64DecodedMessage(HTTPInTransport transport) throws MessageDecodingException
transport
- inbound message transport
MessageDecodingException
- thrown if the message does not contain a base64 encoded SAML message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |