CMS 3D CMS Logo

RelationalAuthenticationService.h
Go to the documentation of this file.
1 #ifndef COND_XMLAUTHENTITACTIONSERVICE_H
2 #define COND_XMLAUTHENTITACTIONSERVICE_H
3 
5 //
6 #include "RelationalAccess/IAuthenticationService.h"
7 #include "CoralKernel/Service.h"
8 #include "CoralKernel/Property.h"
9 //
10 #include <map>
11 #include <set>
12 #include <string>
13 
14 namespace coral {
15 
16  class AuthenticationCredentials;
17  //class IAuthenticationCredentials;
18 } // namespace coral
19 
20 namespace cond {
21 
23 
26  class RelationalAuthenticationService : public coral::Service, virtual public coral::IAuthenticationService {
27  public:
30 
33 
34  public:
37 
42  const coral::IAuthenticationCredentials& credentials(const std::string& connectionString) const override;
43 
49  const coral::IAuthenticationCredentials& credentials(const std::string& connectionString,
50  const std::string& role) const override;
51 
52  private:
55 
58 
60 
61  coral::Property::CallbackID m_callbackID;
62  };
63 
64  } // namespace RelationalAuthenticationService
65 
66 } // namespace cond
67 
68 #endif
cond::RelationalAuthenticationService::RelationalAuthenticationService::m_authenticationPath
std::string m_authenticationPath
The input file with the data.
Definition: RelationalAuthenticationService.h:54
cond::RelationalAuthenticationService::RelationalAuthenticationService::setAuthenticationPath
void setAuthenticationPath(const std::string &inputPath)
Sets the input file name.
Definition: RelationalAuthenticationService.cc:40
cond::RelationalAuthenticationService::RelationalAuthenticationService::m_callbackID
coral::Property::CallbackID m_callbackID
Definition: RelationalAuthenticationService.h:61
coral
Definition: Binary.h:9
cond::RelationalAuthenticationService::RelationalAuthenticationService::RelationalAuthenticationService
RelationalAuthenticationService(const std::string &name)
Standard Constructor.
Definition: RelationalAuthenticationService.cc:24
cond::CredentialStore
Definition: CredentialStore.h:77
cond::RelationalAuthenticationService::RelationalAuthenticationService::~RelationalAuthenticationService
~RelationalAuthenticationService() override
Standard Destructor.
Definition: RelationalAuthenticationService.cc:38
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cond::RelationalAuthenticationService::RelationalAuthenticationService
Definition: RelationalAuthenticationService.h:26
cond
Definition: plugin.cc:23
cond::RelationalAuthenticationService::RelationalAuthenticationService::m_cache
coral_bridge::AuthenticationCredentialSet m_cache
Definition: RelationalAuthenticationService.h:59
cond::RelationalAuthenticationService::RelationalAuthenticationService::credentials
const coral::IAuthenticationCredentials & credentials(const std::string &connectionString) const override
Definition: RelationalAuthenticationService.cc:47
cond::RelationalAuthenticationService::RelationalAuthenticationService::m_db
CredentialStore m_db
The service providing the authentication data.
Definition: RelationalAuthenticationService.h:57
coral_bridge::AuthenticationCredentialSet
Definition: CredentialStore.h:23
CredentialStore.h
SiStripCommissioningSource_FromEDM_cfg.inputPath
inputPath
Definition: SiStripCommissioningSource_FromEDM_cfg.py:8
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
l1RCTOmdsFedVectorProducer_cfi.connectionString
connectionString
Definition: l1RCTOmdsFedVectorProducer_cfi.py:4