shibboleth-3.2.1

shibsp::SecurityPolicy Class Reference

SP-specific SecurityPolicy subclass. More...

#include <shibsp/security/SecurityPolicy.h>

List of all members.

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 ApplicationgetApplication () const
 Returns the Application associated with the policy.

Detailed Description

SP-specific SecurityPolicy subclass.


Constructor & Destructor Documentation

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.

Parameters:
applicationan Application instance
roleidentifies the role (generally IdP or SP) of the policy peer
validatetrue iff XML parsing should be done with validation
policyIdidentifies policy rules to auto-attach, defaults to the application's set
profileidentifies the profile of the transaction being performed

Member Function Documentation

const Application& shibsp::SecurityPolicy::getApplication ( ) const

Returns the Application associated with the policy.

Returns:
the associated Application

The documentation for this class was generated from the following file: