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 
6 namespace cond{
7 
8  namespace auth {
9 
10  static constexpr const char* const COND_AUTH_PATH = "COND_AUTH_PATH";
11  static constexpr const char* const COND_AUTH_SYS = "COND_AUTH_SYS";
12 
13  static constexpr const char* const COND_ADMIN_GROUP = "COND_ADMIN_GROUP";
14 
15  static constexpr const char* const COND_DEFAULT_ROLE = "COND_DEFAULT_ROLE";
16  static constexpr const char* const COND_WRITER_ROLE = "COND_WRITER_ROLE";
17  static constexpr const char* const COND_READER_ROLE = "COND_READER_ROLE";
18  static constexpr const char* const COND_ADMIN_ROLE = "COND_ADMIN_ROLE";
19 
20  static constexpr const char* const COND_DEFAULT_PRINCIPAL = "COND_DEFAULT_PRINCIPAL";
21 
22  static constexpr const char* const COND_KEY = "Memento";
23 
24  static constexpr unsigned int COND_AUTHENTICATION_KEY_SIZE = 30;
25  static constexpr unsigned int COND_DB_KEY_SIZE = 30;
26 
27  static constexpr const char* const COND_AUTH_PATH_PROPERTY = "AuthenticationFile";
28  }
29 
30 }
31 #endif
32 
static constexpr const char *const COND_AUTH_PATH
Definition: Auth.h:10
static constexpr const char *const COND_AUTH_PATH_PROPERTY
Definition: Auth.h:27
#define constexpr
static constexpr const char *const COND_READER_ROLE
Definition: Auth.h:17
static constexpr const char *const COND_ADMIN_ROLE
Definition: Auth.h:18
static constexpr unsigned int COND_DB_KEY_SIZE
Definition: Auth.h:25
static constexpr unsigned int COND_AUTHENTICATION_KEY_SIZE
Definition: Auth.h:24
static constexpr const char *const COND_ADMIN_GROUP
Definition: Auth.h:13
Definition: plugin.cc:24
static constexpr const char *const COND_AUTH_SYS
Definition: Auth.h:11
static constexpr const char *const COND_DEFAULT_PRINCIPAL
Definition: Auth.h:20
static constexpr const char *const COND_WRITER_ROLE
Definition: Auth.h:16
static constexpr const char *const COND_KEY
Definition: Auth.h:22
static constexpr const char *const COND_DEFAULT_ROLE
Definition: Auth.h:15