- SAML2AssertionPolicy(
- const saml2md::MetadataProvider* metadataProvider=NULL,
- const xmltooling::QName* role=NULL,
- const xmltooling::TrustEngine* trustEngine=NULL,
- bool validate=true
- ) : SecurityPolicy(metadataProvider, role, trustEngine, validate) {
- }
+ class SAML_API SAML2AssertionPolicy : virtual public SecurityPolicy
+ {
+ public:
+ /**
+ * Constructor for policy.
+ *
+ * @param metadataProvider locked MetadataProvider instance
+ * @param role identifies the role (generally IdP or SP) of the policy peer
+ * @param trustEngine TrustEngine to authenticate policy peer
+ * @param validate true iff XML parsing should be done with validation
+ */
+ SAML2AssertionPolicy(
+ const saml2md::MetadataProvider* metadataProvider=NULL,
+ const xmltooling::QName* role=NULL,
+ const xmltooling::TrustEngine* trustEngine=NULL,
+ bool validate=true
+ ) : SecurityPolicy(metadataProvider, role, trustEngine, validate) {
+ }