shibboleth-3.4.1
|
Supplies xmltooling TemplateEngine with additional parameters. More...
#include <shibsp/util/TemplateParameters.h>
Public Member Functions | |
TemplateParameters (const std::exception *e=nullptr, const PropertySet *props=nullptr, const Session *session=nullptr) | |
Constructor. | |
void | setPropertySet (const PropertySet *props) |
Sets a PropertySet to supply additional parameters. | |
const xmltooling::XMLToolingException * | getRichException () const |
Returns the exception passed to the object, if it contains rich information. | |
const char * | getParameter (const char *name) const |
std::string | toQueryString () const |
Returns a set of query string name/value pairs, URL-encoded, representing all known parameters. | |
Supplies xmltooling TemplateEngine with additional parameters.
shibsp::TemplateParameters::TemplateParameters | ( | const std::exception * | e = nullptr , |
const PropertySet * | props = nullptr , |
||
const Session * | session = nullptr |
||
) |
Constructor.
e | an exception to supply additional parameters |
props | a PropertySet to supply additional parameters |
session | an active user session |
const xmltooling::XMLToolingException * shibsp::TemplateParameters::getRichException | ( | ) | const |
Returns the exception passed to the object, if it contains rich information.
void shibsp::TemplateParameters::setPropertySet | ( | const PropertySet * | props | ) |
Sets a PropertySet to supply additional parameters.
props | a PropertySet to supply additional parameters |
std::string shibsp::TemplateParameters::toQueryString | ( | ) | const |
Returns a set of query string name/value pairs, URL-encoded, representing all known parameters.
If an exception is present, it's type, message, and parameters will be included.