Starting to refactor session cache, eliminated IConfig class.
[shibboleth/cpp-sp.git] / shibsp / SessionCache.h
index 19ed841..e28b0fe 100644 (file)
@@ -28,6 +28,8 @@
 
 namespace shibsp {
 
+    class SHIBSP_API Application;
+
     class SHIBSP_API Session : public virtual xmltooling::Lockable
     {
         MAKE_NONCOPYABLE(Session);
@@ -57,15 +59,16 @@ namespace shibsp {
     class SHIBSP_API SessionCache
     {
         MAKE_NONCOPYABLE(SessionCache);
+    protected:
+        SessionCache() {}
     public:
-        /**
-         * Constructor
-         */
-        SessionCache(const xercesc::DOMElement* e);
-
-        virtual ~SessionCache();
-
+        virtual ~SessionCache() {}
     };
+
+    /**
+     * Registers SessionCache classes into the runtime.
+     */
+    void SHIBSP_API registerSessionCaches();
 };
 
 #endif /* __shibsp_sessioncache_h__ */