shibboleth-3.4.1
shibsp::SecurityPolicy Class Reference

SP-specific SecurityPolicy subclass. More...

#include <shibsp/security/SecurityPolicy.h>

Inheritance diagram for shibsp::SecurityPolicy:

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. More...
 
opensaml::saml2md::MetadataProvider::Criteria & getMetadataProviderCriteria () const
 
const ApplicationgetApplication () const
 Returns the Application associated with the policy. More...
 

Detailed Description

SP-specific SecurityPolicy subclass.

Constructor & Destructor Documentation

◆ SecurityPolicy()

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

◆ getApplication()

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: