CMS 3D CMS Logo

Classes | Enumerations | Variables
cond::auth Namespace Reference

Classes

class  Cipher
 
class  DecodingKey
 
class  KeyGenerator
 
struct  ServiceCredentials
 

Enumerations

enum  RoleCode { DEFAULT_ROLE = 0, READER_ROLE = 1, WRITER_ROLE = 2, ADMIN_ROLE = 3 }
 

Variables

static constexpr const char *const COND_ADMIN_GROUP = "COND_ADMIN_GROUP"
 
static constexpr const char *const COND_ADMIN_ROLE = "COND_ADMIN_ROLE"
 
static constexpr const char *const COND_AUTH_PATH = "COND_AUTH_PATH"
 
static constexpr const char *const COND_AUTH_PATH_PROPERTY = "AuthenticationFile"
 
static constexpr const char *const COND_AUTH_SYS = "COND_AUTH_SYS"
 
static constexpr unsigned int COND_AUTHENTICATION_KEY_SIZE = 30
 
static constexpr unsigned int COND_DB_KEY_SIZE = 30
 
static constexpr int COND_DBKEY_CREDENTIAL_CODE = 1
 
static constexpr int COND_DBTAG_LOCK_ACCESS_CODE = 8
 
static constexpr int COND_DBTAG_NO_PROTECTION_CODE = 0
 
static constexpr int COND_DBTAG_READ_ACCESS_CODE = 1
 
static constexpr int COND_DBTAG_WRITE_ACCESS_CODE = 2
 
static constexpr const char *const COND_DEFAULT_PRINCIPAL = "COND_DEFAULT_PRINCIPAL"
 
static constexpr const char *const COND_DEFAULT_ROLE = "COND_DEFAULT_ROLE"
 
static constexpr const char *const COND_KEY = "Memento"
 
static constexpr const char *const COND_READER_ROLE = "COND_READER_ROLE"
 
static constexpr int COND_SESSION_HASH_CODE = 4
 
static constexpr size_t COND_SESSION_HASH_SIZE = 16
 
static constexpr const char *const COND_WRITER_ROLE = "COND_WRITER_ROLE"
 
static const std::set< std::string > ROLES
 
static const std::pair< const char *, RoleCodes_roleCodeArray []
 

Enumeration Type Documentation

◆ RoleCode

Enumerator
DEFAULT_ROLE 
READER_ROLE 
WRITER_ROLE 
ADMIN_ROLE 

Definition at line 26 of file Auth.h.

Variable Documentation

◆ COND_ADMIN_GROUP

constexpr const char* const cond::auth::COND_ADMIN_GROUP = "COND_ADMIN_GROUP"
staticconstexpr

Definition at line 14 of file Auth.h.

◆ COND_ADMIN_ROLE

constexpr const char* const cond::auth::COND_ADMIN_ROLE = "COND_ADMIN_ROLE"
staticconstexpr

◆ COND_AUTH_PATH

constexpr const char* const cond::auth::COND_AUTH_PATH = "COND_AUTH_PATH"
staticconstexpr

Definition at line 11 of file Auth.h.

Referenced by cond::persistency::ConnectionPool::configure(), and cond::getDbCredentials().

◆ COND_AUTH_PATH_PROPERTY

constexpr const char* const cond::auth::COND_AUTH_PATH_PROPERTY = "AuthenticationFile"
staticconstexpr

◆ COND_AUTH_SYS

constexpr const char* const cond::auth::COND_AUTH_SYS = "COND_AUTH_SYS"
staticconstexpr

Definition at line 12 of file Auth.h.

Referenced by cond::persistency::ConnectionPool::configure().

◆ COND_AUTHENTICATION_KEY_SIZE

constexpr unsigned int cond::auth::COND_AUTHENTICATION_KEY_SIZE = 30
staticconstexpr

Definition at line 37 of file Auth.h.

◆ COND_DB_KEY_SIZE

constexpr unsigned int cond::auth::COND_DB_KEY_SIZE = 30
staticconstexpr

◆ COND_DBKEY_CREDENTIAL_CODE

constexpr int cond::auth::COND_DBKEY_CREDENTIAL_CODE = 1
staticconstexpr

Definition at line 43 of file Auth.h.

Referenced by cond::persistency::IOVEditor::load().

◆ COND_DBTAG_LOCK_ACCESS_CODE

constexpr int cond::auth::COND_DBTAG_LOCK_ACCESS_CODE = 8
staticconstexpr

◆ COND_DBTAG_NO_PROTECTION_CODE

constexpr int cond::auth::COND_DBTAG_NO_PROTECTION_CODE = 0
staticconstexpr

Definition at line 48 of file Auth.h.

Referenced by cond::persistency::TAG::Table::insert().

◆ COND_DBTAG_READ_ACCESS_CODE

constexpr int cond::auth::COND_DBTAG_READ_ACCESS_CODE = 1
staticconstexpr

Definition at line 47 of file Auth.h.

◆ COND_DBTAG_WRITE_ACCESS_CODE

constexpr int cond::auth::COND_DBTAG_WRITE_ACCESS_CODE = 2
staticconstexpr

◆ COND_DEFAULT_PRINCIPAL

constexpr const char* const cond::auth::COND_DEFAULT_PRINCIPAL = "COND_DEFAULT_PRINCIPAL"
staticconstexpr

Definition at line 33 of file Auth.h.

◆ COND_DEFAULT_ROLE

constexpr const char* const cond::auth::COND_DEFAULT_ROLE = "COND_DEFAULT_ROLE"
staticconstexpr

◆ COND_KEY

constexpr const char* const cond::auth::COND_KEY = "Memento"
staticconstexpr

Definition at line 35 of file Auth.h.

Referenced by cond::CredentialStore::setUpForService().

◆ COND_READER_ROLE

constexpr const char* const cond::auth::COND_READER_ROLE = "COND_READER_ROLE"
staticconstexpr

Definition at line 18 of file Auth.h.

Referenced by cond::persistency::ConnectionPool::createCoralSession().

◆ COND_SESSION_HASH_CODE

constexpr int cond::auth::COND_SESSION_HASH_CODE = 4
staticconstexpr

◆ COND_SESSION_HASH_SIZE

constexpr size_t cond::auth::COND_SESSION_HASH_SIZE = 16
staticconstexpr

Definition at line 40 of file Auth.h.

Referenced by cond::persistency::SessionImpl::SessionImpl().

◆ COND_WRITER_ROLE

constexpr const char* const cond::auth::COND_WRITER_ROLE = "COND_WRITER_ROLE"
staticconstexpr

◆ ROLES

const std::set<std::string> cond::auth::ROLES
static

◆ s_roleCodeArray

const std::pair<const char*, RoleCode> cond::auth::s_roleCodeArray[]
static
Initial value:
= {std::make_pair(COND_DEFAULT_ROLE, DEFAULT_ROLE),
std::make_pair(COND_READER_ROLE, READER_ROLE),
std::make_pair(COND_WRITER_ROLE, WRITER_ROLE),
std::make_pair(COND_ADMIN_ROLE, ADMIN_ROLE)}

Definition at line 28 of file Auth.h.

Referenced by cond::getDbCredentials().

cond::auth::COND_READER_ROLE
static constexpr const char *const COND_READER_ROLE
Definition: Auth.h:18
cond::auth::COND_ADMIN_ROLE
static constexpr const char *const COND_ADMIN_ROLE
Definition: Auth.h:19
cond::auth::READER_ROLE
Definition: Auth.h:26
cond::auth::RoleCode
RoleCode
Definition: Auth.h:26
cond::auth::COND_WRITER_ROLE
static constexpr const char *const COND_WRITER_ROLE
Definition: Auth.h:17
cond::auth::COND_DEFAULT_ROLE
static constexpr const char *const COND_DEFAULT_ROLE
Definition: Auth.h:16
cond::auth::ADMIN_ROLE
Definition: Auth.h:26
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cond::auth::WRITER_ROLE
Definition: Auth.h:26
cond::auth::DEFAULT_ROLE
Definition: Auth.h:26