#include <saml/binding/MessageDecoder.h>
Inheritance diagram for opensaml::MessageDecoder:
Public Member Functions | |
virtual bool | isUserAgentPresent () const |
Indicates whether a web browser or similar user agent delivered the message. | |
void | setArtifactResolver (const ArtifactResolver *artifactResolver) |
Provides an ArtifactResolver implementation for the MessageDecoder to use. | |
virtual xmltooling::XMLObject * | decode (std::string &relayState, const xmltooling::GenericRequest &genericRequest, SecurityPolicy &policy) const =0 |
Decodes a transport request into a SAML protocol message, and evaluates it against a supplied SecurityPolicy. | |
Protected Member Functions | |
virtual void | extractMessageDetails (const xmltooling::XMLObject &message, const xmltooling::GenericRequest &request, const XMLCh *protocol, SecurityPolicy &policy) const =0 |
Extracts policy-relevant message details. | |
Protected Attributes | |
const ArtifactResolver * | m_artifactResolver |
Pointer to an ArtifactResolver implementation. | |
Classes | |
class | ArtifactResolver |
Interface to caller-supplied artifact resolution mechanism. More... |
|
Decodes a transport request into a SAML protocol message, and evaluates it against a supplied SecurityPolicy. If the transport request does not contain the information necessary to decode the request, NULL will be returned. Errors during the decoding process will be raised as exceptions. Artifact-based bindings require an ArtifactResolver be set to turn an artifact into the corresponding message.
|
|
Extracts policy-relevant message details.
Implemented in opensaml::saml1p::SAML1MessageDecoder, and opensaml::saml2p::SAML2MessageDecoder. |
|
Indicates whether a web browser or similar user agent delivered the message.
|
|
Provides an ArtifactResolver implementation for the MessageDecoder to use. The implementation's lifetime must be longer than the lifetime of this object. This method must be externally synchronized.
|