public void setUp(State state) throws Exception {
String secTableName, systemUserName, tableUserName;
Connector sysConn;
Connector conn = state.getConnector();
Instance instance = state.getInstance();
String hostname = InetAddress.getLocalHost().getHostName().replaceAll("[-.]", "_");
systemUserName = String.format("system_%s_%s_%d", hostname, state.getPid(), System.currentTimeMillis());
tableUserName = String.format("table_%s_%s_%d", hostname, state.getPid(), System.currentTimeMillis());
secTableName = String.format("security_%s_%s_%d", hostname, state.getPid(), System.currentTimeMillis());
byte[] sysUserPass = "sysUser".getBytes();
conn.securityOperations().createUser(systemUserName, sysUserPass, new Authorizations());
sysConn = instance.getConnector(systemUserName, sysUserPass);
SecurityHelper.setSystemConnector(state, sysConn);
SecurityHelper.setSysUserName(state, systemUserName);
SecurityHelper.setSysUserPass(state, sysUserPass);