Pluggable runtime functionality that is protected by simple access control. More...
#include <shibsp/handler/SecuredHandler.h>
Public Member Functions | |
std::pair< bool, long > | run (SPRequest &request, bool isHandler=true) const |
Executes handler functionality as an incoming request. | |
Protected Member Functions | |
SecuredHandler (const xercesc::DOMElement *e, xmltooling::logging::Category &log, const char *aclProperty="acl", const char *defaultACL=nullptr, xercesc::DOMNodeFilter *filter=nullptr, const Remapper *remapper=nullptr) | |
Constructor. |
Pluggable runtime functionality that is protected by simple access control.
shibsp::SecuredHandler::SecuredHandler | ( | const xercesc::DOMElement * | e, | |
xmltooling::logging::Category & | log, | |||
const char * | aclProperty = "acl" , |
|||
const char * | defaultACL = nullptr , |
|||
xercesc::DOMNodeFilter * | filter = nullptr , |
|||
const Remapper * | remapper = nullptr | |||
) | [protected] |
Constructor.
e | DOM element to load as property set | |
log | logging category to use | |
aclProperty | name of IP/CIDR ACL property | |
defaultACL | IP/CIDR ACL to apply if no acl property is set | |
filter | optional filter controls what child elements to include as nested PropertySets | |
remapper | optional property rename mapper for legacy property support |
std::pair<bool,long> shibsp::SecuredHandler::run | ( | SPRequest & | request, | |
bool | isHandler = true | |||
) | const [virtual] |
Executes handler functionality as an incoming request.
Handlers can be run either directly by incoming web requests or indirectly/implicitly during other SP processing.
request | SP request context | |
isHandler | true iff executing in the context of a direct handler invocation |
Implements shibsp::Handler.