#ifndef SHIBSP_LITE
# include "metadata/MetadataProviderCriteria.h"
# include <saml/exceptions.h>
+# include <saml/SAMLConfig.h>
# include <saml/signature/ContentReference.h>
# include <saml/saml2/metadata/Metadata.h>
# include <saml/saml2/metadata/MetadataProvider.h>
entity = EntityDescriptorBuilder::buildEntityDescriptor();
}
+ if (!entity->getID())
+ entity->setID(SAMLConfig::getConfig().generateIdentifier());
+
auto_ptr<EntityDescriptor> wrapper(entity);
pair<bool,unsigned int> cache = getUnsignedInt("cacheDuration");
if (cache.first) {