|
shibboleth-2.4.3
|
Interface to a source of security policy settings and rules. More...
#include <shibsp/security/SecurityPolicyProvider.h>
Public Member Functions | |
| virtual const PropertySet * | getPolicySettings (const char *id=nullptr) const =0 |
| Returns the security policy settings for an identified policy. | |
| virtual const std::vector < const opensaml::SecurityPolicyRule * > & | getPolicyRules (const char *id=nullptr) const =0 |
| Returns the security policy rules for an identified policy. | |
| virtual const std::vector < xmltooling::xstring > & | getAlgorithmBlacklist () const =0 |
| Returns a set of XML Signature/Encryption algorithm identifiers to block. | |
| virtual const std::vector < xmltooling::xstring > & | getAlgorithmWhitelist () const =0 |
| Returns a set of XML Signature/Encryption algorithm identifiers to permit. | |
| virtual SecurityPolicy * | createSecurityPolicy (const Application &application, const xmltooling::QName *role, const char *policyId=nullptr) const |
| Returns a SecurityPolicy applicable to an application and/or policy identifier. | |
Interface to a source of security policy settings and rules.
| virtual SecurityPolicy* shibsp::SecurityPolicyProvider::createSecurityPolicy | ( | const Application & | application, |
| const xmltooling::QName * | role, | ||
| const char * | policyId = nullptr |
||
| ) | const [virtual] |
Returns a SecurityPolicy applicable to an application and/or policy identifier.
The caller MUST lock the application's MetadataProvider for the life of the returned object.
| application | reference to application applying policy |
| role | identifies the role (generally IdP or SP) of the policy peer |
| policyId | identifies policy, defaults to the application's default |
| virtual const std::vector<xmltooling::xstring>& shibsp::SecurityPolicyProvider::getAlgorithmBlacklist | ( | ) | const [pure virtual] |
Returns a set of XML Signature/Encryption algorithm identifiers to block.
| virtual const std::vector<xmltooling::xstring>& shibsp::SecurityPolicyProvider::getAlgorithmWhitelist | ( | ) | const [pure virtual] |
Returns a set of XML Signature/Encryption algorithm identifiers to permit.
| virtual const std::vector<const opensaml::SecurityPolicyRule*>& shibsp::SecurityPolicyProvider::getPolicyRules | ( | const char * | id = nullptr | ) | const [pure virtual] |
Returns the security policy rules for an identified policy.
| id | identifies the policy to return, or nullptr for default |
| virtual const PropertySet* shibsp::SecurityPolicyProvider::getPolicySettings | ( | const char * | id = nullptr | ) | const [pure virtual] |
Returns the security policy settings for an identified policy.
| id | identifies the policy to return, or nullptr for default |