diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-08-31 18:11:46 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-08-31 18:11:46 +0200 |
commit | 053843f893dd5c96a88e285cf2a5b35419f7dfca (patch) | |
tree | 532fbd3d8fb4c86b00427a07907a89f6ef8512a1 /src/Client | |
parent | bbb8e9176ced8b4079fcbb208137042ec56c1433 (diff) | |
download | mad-053843f893dd5c96a88e285cf2a5b35419f7dfca.tar mad-053843f893dd5c96a88e285cf2a5b35419f7dfca.zip |
Immer Authentifizierung fordern
Diffstat (limited to 'src/Client')
-rw-r--r-- | src/Client/InformationManager.cpp | 3 |
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(); |