arrow_back history picture_as_pdf This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ~~NOTRANS~~ ~~Title: Create an anonymous connection~~ 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 high secure). You could use JVx' 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 Autologin case you store the login key on the client machine. An anonymous connection doesn't store anything on the client. == Establish an anonymous connection == You have to do following steps: - Change the security manager of your application, in your config.xml, to \\ <file script> com.sibvisions.apps.server.security.AnonymousDBSecurityManager </file> - Configure a new User in the database table **USERS** with **ANONYMOUS** set to **Y** - Create the connection: \\ <file java> MasterConnection con = new MasterConnection(createConnection()); con.setApplicationName(getLauncher().getParameter(ILauncher.PARAM_APPLICATIONNAME); con.setProperty(IConnectionConstants.PREFIX_CLIENT + "login.anonymous", "true"); con.setTimeout(-1); </file>