Collapse entity/role lookup in metadata API.
[shibboleth/opensaml2.git] / saml / saml2 / metadata / DynamicMetadataProvider.h
index 44b622b..7ca322c 100644 (file)
@@ -59,7 +59,7 @@ namespace opensaml {
                 throw MetadataException("getMetadata operation not implemented on this provider.");
             }
 
-            const EntityDescriptor* getEntityDescriptor(const char* id, bool requireValidMetadata=true) const;
+            std::pair<const EntityDescriptor*,const RoleDescriptor*> getEntityDescriptor(const Criteria& criteria) const;
 
         protected:
             /** Controls XML schema validation. */