#include <RelationalAuthenticationService.h>
Public Member Functions | |
const coral::IAuthenticationCredentials & | credentials (const std::string &connectionString) const |
const coral::IAuthenticationCredentials & | credentials (const std::string &connectionString, const std::string &role) const |
RelationalAuthenticationService (const std::string &name) | |
Standard Constructor. More... | |
void | setAuthenticationPath (const std::string &inputPath) |
Sets the input file name. More... | |
virtual | ~RelationalAuthenticationService () |
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().
|
virtual |
const coral::IAuthenticationCredentials & cond::RelationalAuthenticationService::RelationalAuthenticationService::credentials | ( | const std::string & | connectionString | ) | const |
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 52 of file RelationalAuthenticationService.cc.
References Debug, create_public_lumi_plots::log, visualization-live-secondInstance_cfg::msg, AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
const coral::IAuthenticationCredentials & cond::RelationalAuthenticationService::RelationalAuthenticationService::credentials | ( | const std::string & | connectionString, |
const std::string & | role | ||
) | const |
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 73 of file RelationalAuthenticationService.cc.
References Debug, create_public_lumi_plots::log, visualization-live-secondInstance_cfg::msg, AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().
void cond::RelationalAuthenticationService::RelationalAuthenticationService::setAuthenticationPath | ( | const std::string & | inputPath | ) |
Sets the input file name.
Definition at line 45 of file RelationalAuthenticationService.cc.
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.