blob: 62dd6c157a3e97e3a722159f3a8bf9d677be0441 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// **********************************************************************
//
// 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.
//
// **********************************************************************
#ifndef GLACIER2_CRYPT_PERMISSIONS_VERIFIER_I_H
#define GLACIER2_CRYPT_PERMISSIONS_VERIFIER_I_H
#include <Ice/Ice.h>
#include <Glacier2/PermissionsVerifier.h>
namespace Glacier2
{
class CryptPermissionsVerifierI : public PermissionsVerifier, public IceUtil::Mutex
{
public:
CryptPermissionsVerifierI(const std::map<std::string, std::string>&);
virtual bool checkPermissions(const std::string&, const std::string&, std::string&, const Ice::Current&) const;
private:
const std::map<std::string, std::string> _passwords;
};
}
#endif
|