|
opensaml-3.2.0
|
Base class for SAML 2.0 MessageDecoders. More...
#include <saml/saml2/binding/SAML2MessageDecoder.h>
Public Member Functions | |
| const XMLCh * | getProtocolFamily () const |
| Returns identifier for the protocol family associated with the decoder. | |
| void | extractMessageDetails (const xmltooling::XMLObject &message, const xmltooling::GenericRequest &genericRequest, const XMLCh *protocol, SecurityPolicy &policy) const |
| Extracts policy-relevant message details. | |
Protected Member Functions | |
| void | extractCorrelationID (const xmltooling::HTTPRequest &request, xmltooling::HTTPResponse *response, const std::string &relayState, SecurityPolicy &policy) const |
| If relay state is provided, the previous request ID is extracted from a correlation cookie and supplied to the policy. | |
Base class for SAML 2.0 MessageDecoders.
| void opensaml::saml2p::SAML2MessageDecoder::extractCorrelationID | ( | const xmltooling::HTTPRequest & | request, |
| xmltooling::HTTPResponse * | response, | ||
| const std::string & | relayState, | ||
| SecurityPolicy & | policy | ||
| ) | const [protected] |
If relay state is provided, the previous request ID is extracted from a correlation cookie and supplied to the policy.
| request | HTTP request |
| response | optional HTTP response |
| relayState | the RelayState token |
| policy | the SecurityPolicy to attach the ID to |
| void opensaml::saml2p::SAML2MessageDecoder::extractMessageDetails | ( | const xmltooling::XMLObject & | message, |
| const xmltooling::GenericRequest & | request, | ||
| const XMLCh * | protocol, | ||
| SecurityPolicy & | policy | ||
| ) | const [virtual] |
Extracts policy-relevant message details.
| message | the incoming message |
| request | the protocol request |
| protocol | the protocol family in use |
| policy | SecurityPolicy to provide various components and track message data |
Implements opensaml::MessageDecoder.
| const XMLCh* opensaml::saml2p::SAML2MessageDecoder::getProtocolFamily | ( | ) | const [virtual] |
Returns identifier for the protocol family associated with the decoder.
Reimplemented from opensaml::MessageDecoder.