#include "CondCore/DBCommon/interface/CredentialStore.h"
#include "CondCore/DBCommon/interface/Cipher.h"
#include "CondCore/DBCommon/interface/Exception.h"
#include "CondCore/DBCommon/interface/Auth.h"
#include "CondCore/ORA/interface/SequenceManager.h"
#include "CoralBase/AttributeList.h"
#include "CoralBase/Attribute.h"
#include "CoralBase/MessageStream.h"
#include "CoralKernel/Context.h"
#include "CoralCommon/URIParser.h"
#include "RelationalAccess/AuthenticationCredentials.h"
#include "RelationalAccess/IBulkOperation.h"
#include "RelationalAccess/IConnection.h"
#include "RelationalAccess/ISession.h"
#include "RelationalAccess/IRelationalService.h"
#include "RelationalAccess/IRelationalDomain.h"
#include "RelationalAccess/ITransaction.h"
#include "RelationalAccess/ISchema.h"
#include "RelationalAccess/ITable.h"
#include "RelationalAccess/TableDescription.h"
#include "RelationalAccess/ITableDataEditor.h"
#include "RelationalAccess/IQuery.h"
#include "RelationalAccess/ICursor.h"
#include <sstream>
#include <fstream>
#include <boost/filesystem.hpp>
Go to the source code of this file.
Classes | |
struct | cond::AuthorizationData |
struct | cond::CredentialData |
class | cond::CSScopedSession |
struct | cond::PrincipalData |
Namespaces | |
namespace | cond |
Functions | |
static std::string | ADMIN_KEY_COL ("CRED2") |
static std::string | AUTH_ID_COL ("AUTH_ID") |
static std::string | AUTH_KEY_COL ("CRED3") |
static std::string | C_ID_COL ("C_ID") |
static std::string | COND_AUTHENTICATION_TABLE ("COND_AUTHENTICATION") |
static std::string | COND_AUTHORIZATION_TABLE ("COND_AUTHORIZATION") |
static std::string | COND_CREDENTIAL_TABLE ("COND_CREDENTIAL") |
static std::string | CONNECTION_ID_COL ("CONN_ID") |
static std::string | CONNECTION_KEY_COL ("CRED7") |
static std::string | CONNECTION_LABEL_COL ("CONN_LABEL") |
const std::string | DEFAULT_DATA_SOURCE ("Cond_Default_Authentication") |
static std::string | P_ID_COL ("P_ID") |
static std::string | PASSWORD_COL ("CRED5") |
static std::string | PRINCIPAL_ID_COL ("P_ID") |
static std::string | PRINCIPAL_KEY_COL ("CRED1") |
static std::string | PRINCIPAL_NAME_COL ("P_NAME") |
static std::string | ROLE_COL ("C_ROLE") |
static std::string | SCHEMA_COL ("C_SCHEMA") |
std::string | cond::schemaLabel (const std::string &serviceName, const std::string &userName) |
std::string | cond::schemaLabelForCredentialStore (const std::string &connectionString) |
bool | cond::selectAuthorization (coral::ISchema &schema, int principalId, const std::string &role, const std::string &connectionString, AuthorizationData &destination) |
bool | cond::selectConnection (coral::ISchema &schema, const std::string &connectionLabel, CredentialData &destination) |
bool | cond::selectPrincipal (coral::ISchema &schema, const std::string &principal, PrincipalData &destination) |
static std::string | SEQUENCE_TABLE_NAME ("COND_CREDENTIAL_SEQUENCE") |
static std::string | USERNAME_COL ("CRED4") |
static std::string | VERIFICATION_COL ("CRED0") |
static std::string | VERIFICATION_KEY_COL ("CRED6") |
Variables | |
static const std::string | serviceName = "CondAuthenticationService" |
static std::string ADMIN_KEY_COL | ( | "CRED2" | ) | [static] |
static std::string AUTH_ID_COL | ( | "AUTH_ID" | ) | [static] |
static std::string AUTH_KEY_COL | ( | "CRED3" | ) | [static] |
static std::string C_ID_COL | ( | "C_ID" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::CredentialStore::removeConnection(), cond::selectAuthorization(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::setPermission(), and cond::CredentialStore::startSession().
static std::string COND_AUTHENTICATION_TABLE | ( | "COND_AUTHENTICATION" | ) | [static] |
Referenced by cond::CredentialStore::addUser(), cond::CredentialStore::createSchema(), cond::CredentialStore::drop(), cond::CredentialStore::installAdmin(), cond::CredentialStore::listPrincipals(), cond::CredentialStore::removePrincipal(), cond::CredentialStore::selectPermissions(), cond::selectPrincipal(), cond::CredentialStore::startSession(), and cond::CredentialStore::updatePrincipal().
static std::string COND_AUTHORIZATION_TABLE | ( | "COND_AUTHORIZATION" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::drop(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::CredentialStore::removeConnection(), cond::CredentialStore::removePrincipal(), cond::selectAuthorization(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::setPermission(), cond::CredentialStore::startSession(), and cond::CredentialStore::unsetPermission().
static std::string COND_CREDENTIAL_TABLE | ( | "COND_CREDENTIAL" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::drop(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::CredentialStore::listConnections(), cond::CredentialStore::removeConnection(), cond::selectConnection(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::startSession(), and cond::CredentialStore::updateConnection().
static std::string CONNECTION_ID_COL | ( | "CONN_ID" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::CredentialStore::removeConnection(), cond::selectConnection(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::startSession(), and cond::CredentialStore::updateConnection().
static std::string CONNECTION_KEY_COL | ( | "CRED7" | ) | [static] |
static std::string CONNECTION_LABEL_COL | ( | "CONN_LABEL" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::CredentialStore::listConnections(), cond::selectConnection(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::startSession(), and cond::CredentialStore::updateConnection().
const std::string DEFAULT_DATA_SOURCE | ( | "Cond_Default_Authentication" | ) |
static std::string P_ID_COL | ( | "P_ID" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::installAdmin(), cond::CredentialStore::removePrincipal(), cond::selectAuthorization(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::setPermission(), cond::CredentialStore::startSession(), and cond::CredentialStore::unsetPermission().
static std::string PASSWORD_COL | ( | "CRED5" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::CredentialStore::listConnections(), cond::selectConnection(), cond::CredentialStore::selectForUser(), cond::CredentialStore::startSession(), and cond::CredentialStore::updateConnection().
static std::string PRINCIPAL_ID_COL | ( | "P_ID" | ) | [static] |
static std::string PRINCIPAL_KEY_COL | ( | "CRED1" | ) | [static] |
static std::string PRINCIPAL_NAME_COL | ( | "P_NAME" | ) | [static] |
static std::string ROLE_COL | ( | "C_ROLE" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::selectAuthorization(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::setPermission(), cond::CredentialStore::startSession(), and cond::CredentialStore::unsetPermission().
static std::string SCHEMA_COL | ( | "C_SCHEMA" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::selectAuthorization(), cond::CredentialStore::selectForUser(), cond::CredentialStore::selectPermissions(), cond::CredentialStore::setPermission(), cond::CredentialStore::startSession(), and cond::CredentialStore::unsetPermission().
static std::string SEQUENCE_TABLE_NAME | ( | "COND_CREDENTIAL_SEQUENCE" | ) | [static] |
static std::string USERNAME_COL | ( | "CRED4" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::CredentialStore::listConnections(), cond::selectConnection(), cond::CredentialStore::selectForUser(), cond::CredentialStore::startSession(), and cond::CredentialStore::updateConnection().
static std::string VERIFICATION_COL | ( | "CRED0" | ) | [static] |
static std::string VERIFICATION_KEY_COL | ( | "CRED6" | ) | [static] |
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::exportAll(), cond::CredentialStore::installAdmin(), cond::CredentialStore::listConnections(), cond::selectConnection(), cond::CredentialStore::selectForUser(), cond::CredentialStore::startSession(), and cond::CredentialStore::updateConnection().
const std::string serviceName = "CondAuthenticationService" [static] |
Definition at line 32 of file CredentialStore.cc.
Referenced by cond::DecodingKey::createFromInputFile(), cond::CredentialStore::importForPrincipal(), coral_bridge::AuthenticationCredentialSet::registerCredentials(), coral_bridge::AuthenticationCredentialSet::registerItem(), cond::schemaLabel(), cond::schemaLabelForCredentialStore(), cond::CredentialStore::setUpForConnectionString(), and cond::CredentialStore::setUpForService().