summaryrefslogtreecommitdiffstats
path: root/src/Common/AuthManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/AuthManager.h')
-rw-r--r--src/Common/AuthManager.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Common/AuthManager.h b/src/Common/AuthManager.h
index e45762a..0c249ad 100644
--- a/src/Common/AuthManager.h
+++ b/src/Common/AuthManager.h
@@ -48,8 +48,8 @@ class MAD_COMMON_EXPORT AuthManager : private boost::noncopyable {
boost::shared_ptr<AuthProvider> provider;
- std::set<std::string> methods;
- std::map<std::string, boost::shared_ptr<AuthBackend> > backends;
+ std::set<Core::String> methods;
+ std::map<Core::String, boost::shared_ptr<AuthBackend> > backends;
boost::shared_mutex mutex;
@@ -62,11 +62,11 @@ class MAD_COMMON_EXPORT AuthManager : private boost::noncopyable {
void registerBackend(boost::shared_ptr<AuthBackend> backend);
void unregisterBackend(boost::shared_ptr<AuthBackend> backend);
- std::set<std::string> getMethods();
- std::vector<std::string> getSubMethods(const std::string &method) throw(Core::Exception);
+ const std::set<Core::String>& getMethods();
+ std::vector<Core::String> getSubMethods(const Core::String &method) throw(Core::Exception);
- boost::shared_ptr<AuthContext> authenticate(const std::string &method, const std::string &subMethod,
- const std::string &user, const std::vector<boost::uint8_t> &data, std::vector<boost::uint8_t> &response,
+ boost::shared_ptr<AuthContext> authenticate(const Core::String &method, const Core::String &subMethod,
+ const Core::String &user, const std::vector<boost::uint8_t> &data, std::vector<boost::uint8_t> &response,
boost::shared_ptr<AuthContext> context = boost::shared_ptr<AuthContext>()) throw(Core::Exception);
};