Added attribute factories.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 4 Apr 2003 05:34:01 +0000 (05:34 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 4 Apr 2003 05:34:01 +0000 (05:34 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@353 cb58f699-b61c-0410-a6fe-9272a202ed29

shib-target/shib-config.cpp

index 822a65f..5c850d3 100644 (file)
@@ -109,6 +109,16 @@ STConfig::STConfig(const char* app_name, const char* inifile)
   }
 }
 
+extern "C" SAMLAttribute* ScopedFactory(DOMElement* e)
+{
+    return new ScopedAttribute(e);
+}
+
+extern "C" SAMLAttribute* SimpleFactory(DOMElement* e)
+{
+    return new SimpleAttribute(e);
+}
+
 void STConfig::init()
 {
   string app = m_app_name;