register the shib schema
authorwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 4 Oct 2002 16:11:53 +0000 (16:11 +0000)
committerwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 4 Oct 2002 16:11:53 +0000 (16:11 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@118 cb58f699-b61c-0410-a6fe-9272a202ed29

shib-target/shib-config.cpp

index c7860af..53ce55a 100644 (file)
@@ -151,6 +151,11 @@ STConfig::STConfig(const char* app_name, const char* inifile)
   } else
     log.debug ("SAML Initialized");
 
+  // Register the schema (need this before we try to build the mapper)
+  // XXX: HACK ALERT!!!
+  saml::XML::registerSchema(shibboleth::XML::SHIB_NS,
+                           shibboleth::XML::SHIB_SCHEMA_ID);
+
   // Init Shib
   if (! ini->get_tag (app, SHIBTARGET_TAG_SITES, true, &tag)) {
     log.crit("No Sites File found in configuration");