#include <RelationalAuthenticationService.h>
Public Member Functions | |
const coral::IAuthenticationCredentials & | credentials (const std::string &connectionString) const override |
const coral::IAuthenticationCredentials & | credentials (const std::string &connectionString, const std::string &role) const override |
std::string | principalName () override |
RelationalAuthenticationService (const std::string &name) | |
Standard Constructor. More... | |
void | setAuthenticationPath (const std::string &inputPath) |
Sets the input file name. More... | |
~RelationalAuthenticationService () override | |
Standard Destructor. More... | |
Public Member Functions inherited from cond::persistency::IDbAuthentication | |
virtual | ~IDbAuthentication () |
Private Attributes | |
std::string | m_authenticationPath |
The input file with the data. More... | |
coral_bridge::AuthenticationCredentialSet | m_cache |
coral::Property::CallbackID | m_callbackID |
CredentialStore | m_db |
The service providing the authentication data. More... | |
Definition at line 27 of file RelationalAuthenticationService.h.
|
explicit |
Standard Constructor.
Definition at line 23 of file RelationalAuthenticationService.cc.
References cond::auth::COND_AUTH_PATH_PROPERTY, instance, m_callbackID, and setAuthenticationPath().
|
override |
|
override |
Returns a reference to the credentials object for a given connection string. If the connection string is not known to the service an UnknownConnectionException is thrown.
Definition at line 46 of file RelationalAuthenticationService.cc.
References l1RCTOmdsFedVectorProducer_cfi::connectionString, Debug, dqm-mbProfile::log, mps_check::msg, AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
|
override |
Returns a reference to the credentials object for a given connection string. If the connection string is not known to the service an UnknownConnectionException is thrown. If the role is not known to the service an UnknownRoleException is thrown.
Definition at line 68 of file RelationalAuthenticationService.cc.
References l1RCTOmdsFedVectorProducer_cfi::connectionString, Debug, dqm-mbProfile::log, mps_check::msg, AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
|
overridevirtual |
Implements cond::persistency::IDbAuthentication.
Definition at line 89 of file RelationalAuthenticationService.cc.
void cond::RelationalAuthenticationService::RelationalAuthenticationService::setAuthenticationPath | ( | const std::string & | inputPath | ) |
Sets the input file name.
Definition at line 39 of file RelationalAuthenticationService.cc.
References SiStripCommissioningSource_FromEDM_cfg::inputPath.
Referenced by RelationalAuthenticationService().
|
private |
The input file with the data.
Definition at line 59 of file RelationalAuthenticationService.h.
|
mutableprivate |
Definition at line 64 of file RelationalAuthenticationService.h.
|
private |
Definition at line 66 of file RelationalAuthenticationService.h.
Referenced by RelationalAuthenticationService().
|
mutableprivate |
The service providing the authentication data.
Definition at line 62 of file RelationalAuthenticationService.h.