SP-specific SecurityPolicy subclass. More...
#include <shibsp/security/SecurityPolicy.h>
Public Member Functions | |
SecurityPolicy (const Application &application, const xmltooling::QName *role=nullptr, bool validate=true, const char *policyId=nullptr, const char *profile=nullptr) | |
Constructor for policy. | |
opensaml::saml2md::MetadataProvider::Criteria & | getMetadataProviderCriteria () const |
const Application & | getApplication () const |
Returns the Application associated with the policy. |
SP-specific SecurityPolicy subclass.
shibsp::SecurityPolicy::SecurityPolicy | ( | const Application & | application, | |
const xmltooling::QName * | role = nullptr , |
|||
bool | validate = true , |
|||
const char * | policyId = nullptr , |
|||
const char * | profile = nullptr | |||
) |
Constructor for policy.
application | an Application instance | |
role | identifies the role (generally IdP or SP) of the policy peer | |
validate | true iff XML parsing should be done with validation | |
policyId | identifies policy rules to auto-attach, defaults to the application's set | |
profile | identifies the profile of the transaction being performed |
const Application& shibsp::SecurityPolicy::getApplication | ( | ) | const |
Returns the Application associated with the policy.