#include <xmltooling/util/NDC.h>
#include <xmltooling/util/Threads.h>
#include <xmltooling/util/XMLHelper.h>
+#include <shibsp/SPConfig.h>
using xmltooling::XMLHelper;
#include <sstream>
#include <dmalloc.h>
#endif
+using namespace shibsp;
using namespace shibtarget;
using namespace opensaml::saml2md;
using namespace saml;
* The registration functions here...
*/
-IPlugIn* new_mysql_ccache(const DOMElement* e)
+SessionCache* new_mysql_ccache(const DOMElement* const & e)
{
return new ShibMySQLCCache(e);
}
{
// register this ccache type
SAMLConfig::getConfig().getPlugMgr().regFactory(MYSQL_REPLAYCACHE, &new_mysql_replay);
- SAMLConfig::getConfig().getPlugMgr().regFactory(MYSQL_SESSIONCACHE, &new_mysql_ccache);
+ SPConfig::getConfig().SessionCacheManager.registerFactory(MYSQL_SESSIONCACHE, &new_mysql_ccache);
return 0;
}
if (g_MySQLInitialized)
mysql_server_end();
SAMLConfig::getConfig().getPlugMgr().unregFactory(MYSQL_REPLAYCACHE);
- SAMLConfig::getConfig().getPlugMgr().unregFactory(MYSQL_SESSIONCACHE);
}