CMS 3D CMS Logo

Namespaces | Enumerations | Variables
Auth.h File Reference
#include <string>
#include <set>

Go to the source code of this file.

Namespaces

 cond
 
 cond::auth
 

Enumerations

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

Variables

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