#include <shibsp/ServiceProvider.h>
Inheritance diagram for shibsp::ServiceProvider:
Public Member Functions | |
virtual void | init ()=0 |
Loads a configuration and prepares the instance for use. | |
virtual TransactionLog * | getTransactionLog () const =0 |
Returns a TransactionLog instance. | |
virtual xmltooling::StorageService * | getStorageService (const char *id) const =0 |
Returns a StorageService instance based on an ID. | |
virtual SessionCache * | getSessionCache (bool required=true) const =0 |
Returns a SessionCache instance. | |
virtual ListenerService * | getListenerService (bool required=true) const =0 |
Returns a ListenerService instance. | |
virtual const PropertySet * | getPolicySettings (const char *id) const =0 |
Returns the security policy settings for an identified policy. | |
virtual const std::vector< const opensaml::SecurityPolicyRule * > & | getPolicyRules (const char *id) const =0 |
Returns the security policy rules for an identified policy. | |
virtual bool | setTransportOptions (xmltooling::SOAPTransport &transport) const =0 |
Sets implementation-specific transport options. | |
virtual RequestMapper * | getRequestMapper (bool required=true) const =0 |
Returns a RequestMapper instance. | |
virtual const Application * | getApplication (const char *applicationId) const =0 |
Returns an Application instance matching the specified ID. | |
virtual std::pair< bool, long > | doAuthentication (SPRequest &request, bool handler=false) const |
Enforces requirements for an authenticated session. | |
virtual std::pair< bool, long > | doAuthorization (SPRequest &request) const |
Enforces authorization requirements based on the authenticated session. | |
virtual std::pair< bool, long > | doExport (SPRequest &request, bool requireSession=true) const |
Publishes session contents to the request in the form of headers or environment variables. | |
virtual std::pair< bool, long > | doHandler (SPRequest &request) const |
Services requests for registered Handler locations. |
A ServiceProvider exposes configuration and infrastructure services required by the SP implementation, allowing a flexible configuration format.
|
Enforces requirements for an authenticated session. If the return value's first member is true, then request processing should terminate with the second member as a status value. If false, processing can continue.
|
|
Enforces authorization requirements based on the authenticated session. If the return value's first member is true, then request processing should terminate with the second member as a status value. If false, processing can continue.
|
|
Publishes session contents to the request in the form of headers or environment variables. If the return value's first member is true, then request processing should terminate with the second member as a status value. If false, processing can continue.
|
|
Services requests for registered Handler locations. If the return value's first member is true, then request processing should terminate with the second member as a status value. If false, processing can continue.
|
|
Returns an Application instance matching the specified ID.
|
|
Returns a ListenerService instance.
|
|
Returns the security policy rules for an identified policy.
|
|
Returns the security policy settings for an identified policy.
|
|
Returns a RequestMapper instance.
|
|
Returns a SessionCache instance.
|
|
Returns a StorageService instance based on an ID.
|
|
Returns a TransactionLog instance.
|
|
Loads a configuration and prepares the instance for use. Implemented as a separate method so that services can rely on other services while they initialize by accessing the ServiceProvider from the SPConfig singleton. |
|
Sets implementation-specific transport options.
|