diff options
Diffstat (limited to 'cpp/demo/Glacier2/callback/SessionI.cpp')
-rw-r--r-- | cpp/demo/Glacier2/callback/SessionI.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cpp/demo/Glacier2/callback/SessionI.cpp b/cpp/demo/Glacier2/callback/SessionI.cpp new file mode 100644 index 00000000000..474da709972 --- /dev/null +++ b/cpp/demo/Glacier2/callback/SessionI.cpp @@ -0,0 +1,22 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#include <Ice/Ice.h> +#include <SessionI.h> + +using namespace std; +using namespace Ice; + +bool +DummyPermissionsVerifierI::checkPermissions(const string& userId, const string& password, string&, + const Current&) const +{ + cout << "verified user-id `" << userId << "' with password `" << password << "'" << endl; + return true; +} |