CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Auth.h
Go to the documentation of this file.
1 #ifndef COND_DBCommon_Roles_h
2 #define COND_DBCommon_Roles_h
3 
4 #include <string>
5 
6 namespace cond{
7 
8  class Auth {
9 
10  public:
11 
12  static const char* COND_AUTH_PATH;
13  static const char* COND_AUTH_SYS;
14 
15  static const std::string COND_ADMIN_GROUP;
16 
17  static const std::string COND_DEFAULT_ROLE;
18  static const std::string COND_WRITER_ROLE;
19  static const std::string COND_READER_ROLE;
20  static const std::string COND_ADMIN_ROLE;
21  static const std::string COND_DEFAULT_PRINCIPAL;
22 
23  static const std::string COND_KEY;
24  static const unsigned int COND_AUTHENTICATION_KEY_SIZE = 30;
25  static const unsigned int COND_DB_KEY_SIZE = 30;
26 
27  static const std::string COND_AUTH_PATH_PROPERTY;
28 
29  };
30 }
31 
32 #endif
33 // DBSESSION_H
static const std::string COND_KEY
Definition: Auth.h:23
static const std::string COND_ADMIN_ROLE
Definition: Auth.h:20
static const std::string COND_AUTH_PATH_PROPERTY
Definition: Auth.h:27
Definition: Auth.h:8
static const std::string COND_ADMIN_GROUP
Definition: Auth.h:15
static const char * COND_AUTH_SYS
Definition: Auth.h:13
static const std::string COND_WRITER_ROLE
Definition: Auth.h:18
static const std::string COND_DEFAULT_PRINCIPAL
Definition: Auth.h:21
static const unsigned int COND_AUTHENTICATION_KEY_SIZE
Definition: Auth.h:24
static const std::string COND_READER_ROLE
Definition: Auth.h:19
static const unsigned int COND_DB_KEY_SIZE
Definition: Auth.h:25
static const char * COND_AUTH_PATH
Definition: Auth.h:12
static const std::string COND_DEFAULT_ROLE
Definition: Auth.h:17