2 #include "RelationalAccess/IRelationalDomain.h"
3 #include "RelationalAccess/IConnection.h"
4 #include "RelationalAccess/IConnectionServiceConfiguration.h"
6 #include "RelationalAccess/ISessionProxy.h"
7 #include "RelationalAccess/RelationalServiceException.h"
13 m_connectionService() {
27 const std::string&
user,
28 const std::string& pass ) {
44 std::string userEnv(
"CORAL_AUTH_USER="+user);
45 std::string passEnv(
"CORAL_AUTH_PASSWORD="+pass);
46 ::putenv( const_cast<char*>(userEnv.c_str()));
47 ::putenv( const_cast<char*>(passEnv.c_str()));
48 m_connectionService.configuration().setAuthenticationService(
"CORAL/Services/EnvironmentAuthenticationService");
54 coral::MessageStream::setMsgVerbosity(level);
coral::ConnectionService m_connectionService
coral::ISessionProxy * connect(const std::string &connectionString, const std::string &user, const std::string &password)
void setVerbosityLevel(coral::MsgLevel level)