CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/CondCore/DBCommon/interface/Auth.h

Go to the documentation of this file.
00001 #ifndef COND_DBCommon_Roles_h
00002 #define COND_DBCommon_Roles_h
00003 
00004 #include <string>
00005 
00006 namespace cond{
00007 
00008   class Auth {
00009 
00010   public:
00011 
00012     static const char* COND_AUTH_PATH;
00013     static const char* COND_AUTH_SYS;
00014     
00015     static const std::string COND_ADMIN_GROUP;
00016 
00017     static const std::string COND_DEFAULT_ROLE;
00018     static const std::string COND_WRITER_ROLE;
00019     static const std::string COND_READER_ROLE;
00020     static const std::string COND_ADMIN_ROLE;
00021     static const std::string COND_DEFAULT_PRINCIPAL;
00022 
00023     static const std::string COND_KEY;
00024     static const unsigned int COND_AUTHENTICATION_KEY_SIZE = 30;
00025     static const unsigned int COND_DB_KEY_SIZE = 30;
00026 
00027     static const std::string COND_AUTH_PATH_PROPERTY;
00028 
00029   };
00030 }
00031 
00032 #endif
00033 // DBSESSION_H