#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 |
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... | |
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 26 of file RelationalAuthenticationService.h.
|
explicit |
Standard Constructor.
Definition at line 24 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 47 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 69 of file RelationalAuthenticationService.cc.
References l1RCTOmdsFedVectorProducer_cfi::connectionString, Debug, dqm-mbProfile::log, mps_check::msg, AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
void cond::RelationalAuthenticationService::RelationalAuthenticationService::setAuthenticationPath | ( | const std::string & | inputPath | ) |
Sets the input file name.
Definition at line 40 of file RelationalAuthenticationService.cc.
References SiStripCommissioningSource_FromEDM_cfg::inputPath.
Referenced by RelationalAuthenticationService().
|
private |
The input file with the data.
Definition at line 54 of file RelationalAuthenticationService.h.
|
mutableprivate |
Definition at line 59 of file RelationalAuthenticationService.h.
|
private |
Definition at line 61 of file RelationalAuthenticationService.h.
Referenced by RelationalAuthenticationService().
|
mutableprivate |
The service providing the authentication data.
Definition at line 57 of file RelationalAuthenticationService.h.