summaryrefslogtreecommitdiffstats
path: root/src/Server/ConnectionManager.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-31 18:11:46 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-31 18:11:46 +0200
commit053843f893dd5c96a88e285cf2a5b35419f7dfca (patch)
tree532fbd3d8fb4c86b00427a07907a89f6ef8512a1 /src/Server/ConnectionManager.h
parentbbb8e9176ced8b4079fcbb208137042ec56c1433 (diff)
downloadmad-053843f893dd5c96a88e285cf2a5b35419f7dfca.tar
mad-053843f893dd5c96a88e285cf2a5b35419f7dfca.zip
Immer Authentifizierung fordern
Diffstat (limited to 'src/Server/ConnectionManager.h')
-rw-r--r--src/Server/ConnectionManager.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Server/ConnectionManager.h b/src/Server/ConnectionManager.h
index 057e73e..099072c 100644
--- a/src/Server/ConnectionManager.h
+++ b/src/Server/ConnectionManager.h
@@ -97,7 +97,7 @@ class MAD_SERVER_EXPORT ConnectionManager : public Core::Configurable, private b
hostInfo = info;
}
- bool isAuthenticated() const {
+ virtual bool isAuthenticated() const {
return (authContext.get() != 0 && authContext->isAuthenticated());
}
@@ -145,8 +145,6 @@ class MAD_SERVER_EXPORT ConnectionManager : public Core::Configurable, private b
boost::shared_ptr<const Common::AuthContext> authenticateConnection(Common::Connection *con, 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);
- bool isAuthenticated(Common::Connection *con) const;
-
std::vector<Common::HostInfo> getDaemonList() const;
};