/*
- * Copyright 2001-2006 Internet2
+ * Copyright 2001-2007 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <shibsp/util/PropertySet.h>
#include <xmltooling/signature/CredentialResolver.h>
+#include <xmltooling/util/StorageService.h>
namespace shibsp {
class SHIBSP_API SessionCache;
class SHIBSP_API SPRequest;
class SHIBSP_API TemplateParameters;
+ class SHIBSP_API TransactionLog;
/**
* Interface to a Shibboleth ServiceProvider instance.
* from the SPConfig singleton.
*/
virtual void init()=0;
-
+
+ /**
+ * Returns a TransactionLog instance.
+ *
+ * @return a TransactionLog instance
+ */
+ virtual TransactionLog* getTransactionLog() const=0;
+
+ /**
+ * Returns a StorageService instance based on an ID.
+ *
+ * @param id a NULL-terminated key identifying the StorageService to the configuration
+ * @return a StorageService if available, or NULL
+ */
+ virtual xmltooling::StorageService* getStorageService(const char* id) const=0;
+
/**
* Returns a SessionCache instance.
*