|
| SecuredHandler (const xercesc::DOMElement *e, xmltooling::logging::Category &log, const char *aclProperty="acl", const char *defaultACL=nullptr, xercesc::DOMNodeFilter *filter=nullptr, const std::map< std::string, std::string > *remapper=nullptr) |
| Constructor.
|
|
| AbstractHandler (const xercesc::DOMElement *e, xmltooling::logging::Category &log, xercesc::DOMNodeFilter *filter=nullptr, const std::map< std::string, std::string > *remapper=nullptr) |
| Constructor.
|
|
void | log (SPRequest::SPLogLevel level, const std::string &msg) const |
| Log using handler's specific logging object.
|
|
virtual void | checkError (const xmltooling::XMLObject *response, const opensaml::saml2md::RoleDescriptor *role=nullptr) const |
| Examines a protocol response message for errors and raises an annotated exception if an error is found.
|
|
void | fillStatus (opensaml::saml2p::StatusResponseType &response, const XMLCh *code, const XMLCh *subcode=nullptr, const char *msg=nullptr) const |
| Prepares Status information in a SAML 2.0 response.
|
|
long | sendMessage (const opensaml::MessageEncoder &encoder, xmltooling::XMLObject *msg, const char *relayState, const char *destination, const opensaml::saml2md::RoleDescriptor *role, const Application &application, xmltooling::HTTPResponse &httpResponse, bool signIfPossible=false) const |
| Encodes and sends SAML 2.0 message, optionally signing it in the process.
|
|
virtual void | preservePostData (const Application &application, const xmltooling::HTTPRequest &request, xmltooling::HTTPResponse &response, const char *relayState) const |
| Implements a mechanism to preserve form post data.
|
|
virtual DDF | recoverPostData (const Application &application, const xmltooling::HTTPRequest &request, xmltooling::HTTPResponse &response, const char *relayState) const |
| Implements storage service and cookie mechanism to recover PostData.
|
|
virtual long | sendPostResponse (const Application &application, xmltooling::HTTPResponse &response, const char *url, DDF &postData) const |
| Post a redirect response with post data.
|
|
std::pair< bool, bool > | getBool (const char *name, const SPRequest &request, unsigned int type=HANDLER_PROPERTY_ALL) const |
| Returns a boolean-valued property.
|
|
std::pair< bool, const char * > | getString (const char *name, const SPRequest &request, unsigned int type=HANDLER_PROPERTY_ALL) const |
| Returns a string-valued property.
|
|
std::pair< bool, unsigned int > | getUnsignedInt (const char *name, const SPRequest &request, unsigned int type=HANDLER_PROPERTY_ALL) const |
| Returns an unsigned integer-valued property.
|
|
std::pair< bool, int > | getInt (const char *name, const SPRequest &request, unsigned int type=HANDLER_PROPERTY_ALL) const |
| Returns an integer-valued property.
|
|
virtual void | cleanRelayState (const Application &application, const xmltooling::HTTPRequest &request, xmltooling::HTTPResponse &response) const |
| Prevents unused relay state from building up by cleaning old state from the client.
|
|
virtual void | preserveRelayState (const Application &application, xmltooling::HTTPResponse &response, std::string &relayState) const |
| Implements various mechanisms to preserve RelayState, such as cookies or StorageService-backed keys.
|
|
virtual void | recoverRelayState (const Application &application, const xmltooling::HTTPRequest &request, xmltooling::HTTPResponse &response, std::string &relayState, bool clear=true) const |
| Implements various mechanisms to recover RelayState, such as cookies or StorageService-backed keys.
|
|
bool | setProperty (const char *name, const char *val, const char *ns=nullptr) |
| Post-load injection of a property, for use by subclasses.
|
|
Pluggable runtime functionality that is protected by simple access control.