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 }
19 
20 namespace cond {
21 
23 
26  class RelationalAuthenticationService : public coral::Service,
27  virtual public coral::IAuthenticationService
28  {
29 
30  public:
33 
36 
37  public:
38 
40  void setAuthenticationPath( const std::string& inputPath );
41 
46  const coral::IAuthenticationCredentials& credentials( const std::string& connectionString ) const override;
47 
53  const coral::IAuthenticationCredentials& credentials( const std::string& connectionString,
54  const std::string& role ) const override;
55 
56  private:
57 
60 
63 
65 
66  coral::Property::CallbackID m_callbackID;
67 
68  };
69 
70  }
71 
72 }
73 
74 #endif
Definition: Binary.h:9
Definition: plugin.cc:24
CredentialStore m_db
The service providing the authentication data.