opensaml-3.1.0

opensaml::saml2p::SAML2MessageEncoder Class Reference

Base class for SAML 2.0 MessageEncoders. More...

#include <saml/saml2/binding/SAML2MessageEncoder.h>

Inheritance diagram for opensaml::saml2p::SAML2MessageEncoder:
opensaml::MessageEncoder

List of all members.

Public Member Functions

const XMLCh * getProtocolFamily () const
 Returns identifier for the protocol family associated with the encoder.

Protected Member Functions

void preserveCorrelationID (xmltooling::HTTPResponse &response, const RequestAbstractType &message, const char *relayState) const
 If the message is a request and relay state is provided, the request ID is preserved in a correlation cookie.

Detailed Description

Base class for SAML 2.0 MessageEncoders.


Member Function Documentation

const XMLCh* opensaml::saml2p::SAML2MessageEncoder::getProtocolFamily ( ) const [virtual]

Returns identifier for the protocol family associated with the encoder.

Returns:
a protocol family identifier, or nullptr

Reimplemented from opensaml::MessageEncoder.

void opensaml::saml2p::SAML2MessageEncoder::preserveCorrelationID ( xmltooling::HTTPResponse &  response,
const RequestAbstractType &  message,
const char *  relayState 
) const [protected]

If the message is a request and relay state is provided, the request ID is preserved in a correlation cookie.

Parameters:
responseHTTP response
messagethe SAML message
relayStatethe RelayState token

The documentation for this class was generated from the following file: