summaryrefslogtreecommitdiffstats
path: root/src/Client
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/Client
parentbbb8e9176ced8b4079fcbb208137042ec56c1433 (diff)
downloadmad-053843f893dd5c96a88e285cf2a5b35419f7dfca.tar
mad-053843f893dd5c96a88e285cf2a5b35419f7dfca.zip
Immer Authentifizierung fordern
Diffstat (limited to 'src/Client')
-rw-r--r--src/Client/InformationManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Client/InformationManager.cpp b/src/Client/InformationManager.cpp
index 108a2a5..6ac2647 100644
--- a/src/Client/InformationManager.cpp
+++ b/src/Client/InformationManager.cpp
@@ -28,7 +28,8 @@ namespace Mad {
namespace Client {
void InformationManager::DaemonStateUpdateRequestHandler::handleRequest(boost::shared_ptr<const Common::XmlPacket> packet, Common::XmlPacket *ret) {
- // TODO Require authentication
+ if(!getConnection()->isAuthenticated())
+ throw(Core::Exception(Core::Exception::PERMISSION));
InformationManager *informationManager = dynamic_cast<Application&>(*getApplication()).getInformationManager();