Pass ShibINI object to extension libraries
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 13 Dec 2002 06:38:28 +0000 (06:38 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 13 Dec 2002 06:38:28 +0000 (06:38 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@221 cb58f699-b61c-0410-a6fe-9272a202ed29

shib-target/shib-config.cpp

index cd39d8e..94332db 100644 (file)
@@ -17,7 +17,7 @@ using namespace shibtarget;
 using namespace std;
 
 #ifndef SHIBTARGET_INIFILE
-#define SHIBTARGET_INIFILE "/etc/shibboleth.ini"
+#define SHIBTARGET_INIFILE "/opt/shibboleth/etc/shibboleth/shibboleth.ini"
 #endif
 
 class STConfig : public ShibTargetConfig
@@ -147,7 +147,7 @@ STConfig::STConfig(const char* app_name, const char* inifile)
       string file = ini->get(ext, *str);
       try
       {
-       samlConf.saml_register_extension(file.c_str());
+       samlConf.saml_register_extension(file.c_str(),ini);
        log.debug("%s: loading %s", str->c_str(), file.c_str());
       }
       catch (SAMLException& e)