|
virtual const std::set
< std::string > & | getSupportedOptions () const |
| Indicates the set of optional settings supported by the handler. More...
|
|
virtual std::pair< bool, long > | run (SPRequest &request, std::string &entityID, bool isHandler=true) const =0 |
| Executes an incoming request. More...
|
|
std::pair< bool, long > | run (SPRequest &request, bool isHandler=true) const |
| Executes handler functionality as an incoming request. More...
|
|
const char * | remap (const char *src, xmltooling::logging::Category &log) const |
| Remap a name (or return it unchanged). More...
|
|
const char * | getType () const |
| Returns the "type" of the Handler plugin. More...
|
|
void | generateMetadata (opensaml::saml2md::SPSSODescriptor &role, const char *handlerURL) const |
| Generates and/or modifies metadata reflecting the Handler. More...
|
|
void | doGenerateMetadata (opensaml::saml2md::SPSSODescriptor &role, const char *handlerURL) const |
| Generates RequestInitiator metadata when instructed. More...
|
|
const char * | getEventType () const |
| Get the type of event, as input to error handling in response to errors raised by this handler. More...
|
|
virtual const XMLCh * | getProtocolFamily () const |
| Returns an identifier for the protocol family associated with the handler, if any. More...
|
|
virtual const PropertySet * | getParent () const =0 |
| Returns parent of this PropertySet, if any. More...
|
|
virtual void | setParent (const PropertySet *parent)=0 |
| Establishes a "parent" PropertySet to supply inherited settings. More...
|
|
virtual std::pair< bool, bool > | getBool (const char *name, const char *ns=nullptr) const =0 |
| Returns a boolean-valued property. More...
|
|
virtual std::pair< bool, const
char * > | getString (const char *name, const char *ns=nullptr) const =0 |
| Returns a string-valued property. More...
|
|
virtual std::pair< bool, const
XMLCh * > | getXMLString (const char *name, const char *ns=nullptr) const =0 |
| Returns a Unicode string-valued property. More...
|
|
virtual std::pair< bool,
unsigned int > | getUnsignedInt (const char *name, const char *ns=nullptr) const =0 |
| Returns an unsigned integer-valued property. More...
|
|
virtual std::pair< bool, int > | getInt (const char *name, const char *ns=nullptr) const =0 |
| Returns an integer-valued property. More...
|
|
virtual const PropertySet * | getPropertySet (const char *name, const char *ns=shibspconstants::ASCII_SHIBSPCONFIG_NS) const =0 |
| Returns a nested property set. More...
|
|
virtual const xercesc::DOMElement * | getElement () const =0 |
| Returns a DOM element representing the property container, if any. More...
|
|
virtual | ~Remapper () |
| Destructor. More...
|
|
|
bool | checkCompatibility (SPRequest &request, bool isHandler) const |
| Examines the request and applicable settings to determine whether the handler is able to support the request. More...
|
|
virtual AuthnRequestEvent * | newAuthnRequestEvent (const Application &application, const xmltooling::HTTPRequest *request=nullptr) const |
| Creates a new AuthnRequestEvent for the event log. More...
|
|
virtual void | log (SPRequest::SPLogLevel level, const std::string &msg) const |
| Log using handler's specific logging object. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
| Remapper () |
| Constructor. More...
|
|
Pluggable runtime functionality that handles initiating sessions.
By default, SessionInitiators look for an entityID on the incoming request and pass control to the specialized run method.