CMS 3D CMS Logo

Auth.h
Go to the documentation of this file.
1 #ifndef CondCore_CondDB_Auth_h
2 #define CondCore_CondDB_Auth_h
3 
4 #include <string>
5 #include <set>
6 
7 namespace cond {
8 
9  namespace auth {
10 
11  static constexpr const char* const COND_AUTH_PATH = "COND_AUTH_PATH";
12  static constexpr const char* const COND_AUTH_SYS = "COND_AUTH_SYS";
13 
14  static constexpr const char* const COND_ADMIN_GROUP = "COND_ADMIN_GROUP";
15 
16  static constexpr const char* const COND_DEFAULT_ROLE = "COND_DEFAULT_ROLE";
17  static constexpr const char* const COND_WRITER_ROLE = "COND_WRITER_ROLE";
18  static constexpr const char* const COND_READER_ROLE = "COND_READER_ROLE";
19  static constexpr const char* const COND_ADMIN_ROLE = "COND_ADMIN_ROLE";
20 
21  static const std::set<std::string> ROLES = {std::string(COND_DEFAULT_ROLE),
25 
26  static constexpr const char* const COND_DEFAULT_PRINCIPAL = "COND_DEFAULT_PRINCIPAL";
27 
28  static constexpr const char* const COND_KEY = "Memento";
29 
30  static constexpr unsigned int COND_AUTHENTICATION_KEY_SIZE = 30;
31  static constexpr unsigned int COND_DB_KEY_SIZE = 30;
32 
33  static constexpr const char* const COND_AUTH_PATH_PROPERTY = "AuthenticationFile";
34  } // namespace auth
35 
36 } // namespace cond
37 #endif
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::COND_ADMIN_GROUP
static constexpr const char *const COND_ADMIN_GROUP
Definition: Auth.h:14
cond::auth::COND_DEFAULT_PRINCIPAL
static constexpr const char *const COND_DEFAULT_PRINCIPAL
Definition: Auth.h:26
cond::auth::COND_WRITER_ROLE
static constexpr const char *const COND_WRITER_ROLE
Definition: Auth.h:17
cond::auth::COND_AUTH_SYS
static constexpr const char *const COND_AUTH_SYS
Definition: Auth.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cond::auth::COND_DEFAULT_ROLE
static constexpr const char *const COND_DEFAULT_ROLE
Definition: Auth.h:16
cond
Definition: plugin.cc:23
cond::auth::COND_KEY
static constexpr const char *const COND_KEY
Definition: Auth.h:28
beamvalidation.auth
auth
Definition: beamvalidation.py:384
cond::auth::COND_AUTH_PATH
static constexpr const char *const COND_AUTH_PATH
Definition: Auth.h:11
cond::auth::COND_AUTH_PATH_PROPERTY
static constexpr const char *const COND_AUTH_PATH_PROPERTY
Definition: Auth.h:33
cond::auth::ROLES
static const std::set< std::string > ROLES
Definition: Auth.h:21
cond::auth::COND_AUTHENTICATION_KEY_SIZE
static constexpr unsigned int COND_AUTHENTICATION_KEY_SIZE
Definition: Auth.h:30
cond::auth::COND_DB_KEY_SIZE
static constexpr unsigned int COND_DB_KEY_SIZE
Definition: Auth.h:31