Public Member Functions | |
void | close () |
CSScopedSession (CredentialStore &store) | |
void | start (bool readOnly=true) |
void | startSuper (const std::string &connectionString, const std::string &userName, const std::string &password) |
~CSScopedSession () | |
Private Attributes | |
CredentialStore & | m_store |
Definition at line 180 of file CredentialStore.cc.
cond::CSScopedSession::CSScopedSession | ( | CredentialStore & | store | ) | [inline] |
Definition at line 182 of file CredentialStore.cc.
: m_store( store ){}
cond::CSScopedSession::~CSScopedSession | ( | ) | [inline] |
Definition at line 184 of file CredentialStore.cc.
{ m_store.closeSession( false ); }
void cond::CSScopedSession::close | ( | void | ) | [inline] |
Definition at line 193 of file CredentialStore.cc.
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::drop(), cond::CredentialStore::exportAll(), cond::CredentialStore::importForPrincipal(), cond::CredentialStore::installAdmin(), cond::CredentialStore::listConnections(), cond::CredentialStore::listPrincipals(), cond::CredentialStore::removeConnection(), cond::CredentialStore::removePrincipal(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::setPermission(), cond::CredentialStore::unsetPermission(), cond::CredentialStore::updateConnection(), and cond::CredentialStore::updatePrincipal().
{ m_store.closeSession(); }
void cond::CSScopedSession::start | ( | bool | readOnly = true | ) | [inline] |
Definition at line 190 of file CredentialStore.cc.
Referenced by cond::CredentialStore::exportAll(), cond::CredentialStore::importForPrincipal(), cond::CredentialStore::listConnections(), cond::CredentialStore::listPrincipals(), cond::CredentialStore::removeConnection(), cond::CredentialStore::removePrincipal(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::setPermission(), cond::CredentialStore::unsetPermission(), cond::CredentialStore::updateConnection(), and cond::CredentialStore::updatePrincipal().
{ m_store.startSession( readOnly ); }
void cond::CSScopedSession::startSuper | ( | const std::string & | connectionString, |
const std::string & | userName, | ||
const std::string & | password | ||
) | [inline] |
Definition at line 187 of file CredentialStore.cc.
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::drop(), and cond::CredentialStore::installAdmin().
{ m_store.startSuperSession( connectionString, userName, password ); }
CredentialStore& cond::CSScopedSession::m_store [private] |
Definition at line 198 of file CredentialStore.cc.