You have different options if you need a connection before the user is authenticated. You could establish a connection with pre-configured username and password (but this isn't highly secure), you could use JVx's standard AUTOLOGIN feature via database configuration (Table AUTOLOGIN), or you could create an anonymous connection.
An anonymous connection is similar to a connection created via Autologin, but in the case of Autologin, you store the login key on the client machine. An anonymous connection doesn't store anything on the client.
You have to do the following steps:
com.sibvisions.apps.server.security.AnonymousDBSecurityManager
MasterConnection con = new MasterConnection(createConnection()); con.setApplicationName(getLauncher().getParameter(ILauncher.PARAM_APPLICATIONNAME); con.setProperty(IConnectionConstants.PREFIX_CLIENT + "login.anonymous", "true"); con.setTimeout(-1);