Moved ReplayCache into xmltooling
[shibboleth/cpp-opensaml.git] / saml / SAMLConfig.h
index 8491d0f..6945ab4 100644 (file)
@@ -39,7 +39,6 @@ namespace opensaml {
     class SAML_API ArtifactMap;\r
     class SAML_API MessageEncoder;\r
     class SAML_API MessageDecoder;\r
-    class SAML_API ReplayCache;\r
     class SAML_API SAMLArtifact;\r
     class SAML_API TrustEngine;\r
     class SAML_API URLEncoder;\r
@@ -132,24 +131,6 @@ namespace opensaml {
         }\r
         \r
         /**\r
-         * Sets the global ReplayCache instance.\r
-         * This method must be externally synchronized with any code that uses the object.\r
-         * Any previously set object is destroyed.\r
-         * \r
-         * @param replayCache   new ReplayCache instance to store\r
-         */\r
-        void setReplayCache(ReplayCache* replayCache);\r
-\r
-        /**\r
-         * Returns the global ReplayCache instance.\r
-         * \r
-         * @return  global ReplayCache or NULL\r
-         */\r
-        ReplayCache* getReplayCache() const {\r
-            return m_replayCache;\r
-        }\r
-        \r
-        /**\r
          * Generate random information using the underlying security library\r
          * \r
          * @param buf   buffer for the information\r
@@ -214,16 +195,13 @@ namespace opensaml {
         xmltooling::PluginManager<saml2md::MetadataFilter,const DOMElement*> MetadataFilterManager;\r
 \r
     protected:\r
-        SAMLConfig() : m_artifactMap(NULL), m_urlEncoder(NULL), m_replayCache(NULL) {}\r
+        SAMLConfig() : m_artifactMap(NULL), m_urlEncoder(NULL) {}\r
         \r
         /** Global ArtifactMap instance for use by artifact-related functions. */\r
         ArtifactMap* m_artifactMap;\r
 \r
         /** Global URLEncoder instance for use by URL-related functions. */\r
         URLEncoder* m_urlEncoder;\r
-        \r
-        /** Global ReplayCache instance. */\r
-        ReplayCache* m_replayCache;\r
     };\r
 \r
 #if defined (_MSC_VER)\r