git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3714
cb58f699-b61c-0410-a6fe-
9272a202ed29
status = "<Partial/>";
}
- MetadataProvider* m = application.getMetadataProvider();
+ MetadataProvider* m = application.getMetadataProvider(false);
Locker mlock(m);
const PropertySet* relyingParty = nullptr;
param=httpRequest.getParameter("entityID");
- if (param)
+ if (m && param)
relyingParty = application.getRelyingParty(m->getEntityDescriptor(MetadataProviderCriteria(application, param)).first);
else
relyingParty = &application;
s << "<Application id='" << application.getId() << "' entityID='" << relyingParty->getString("entityID").second << "'/>";
- m->outputStatus(s);
+ if (m)
+ m->outputStatus(s);
s << "<Handlers>";
vector<const Handler*> handlers;