/**
* Batches up criteria for entity lookup.
*/
- struct Criteria {
+ struct SAML_API Criteria {
+ /**
+ * Default constructor.
+ */
+ Criteria() : entityID_unicode(NULL), entityID_ascii(NULL), artifact(NULL), role(NULL), protocol(NULL), protocol2(NULL), validOnly(true) {
+ }
+
/**
* Constructor.
*
: entityID_unicode(NULL), entityID_ascii(NULL), artifact(a), role(q), protocol(prot), protocol2(NULL), validOnly(valid) {
}
+ virtual ~Criteria() {}
+
/** Unique ID of entity. */
const XMLCh* entityID_unicode;
/** Unique ID of entity. */
/** MetadataProvider that wraps a sequence of metadata providers. */
#define CHAINING_METADATA_PROVIDER "Chaining"
+ /** MetadataProvider that returns an empty "dummy" entity descriptor. */
+ #define NULL_METADATA_PROVIDER "Null"
+
DECL_XMLTOOLING_EXCEPTION(MetadataException,SAML_EXCEPTIONAPI(SAML_API),opensaml::saml2md,xmltooling::XMLToolingException,Exceptions related to metadata use);
};
};