Looking Up a Secure Engine Using the API

VERSION 1 Published

Created on: 18-Dec-2006 11:22 by Lillian Bozonie - Last Modified:  18-Dec-2006 11:22 by Lillian Bozonie

To lookup a secure engine you will want to use the following code:

RemoteSecurity securedInterface = null;
Factory fluxFactory = Factory.makeInstance();
Configuration clientConfig = fluxFactory.makeConfiguration();
... //set engine specific configuration options here
securedInterface = fluxFactory.lookupRemoteSecurity(clientConfig);
Engine secureFlux = securedInterface.login("admin", "admin");

You may also want to lookup your Configuration from a properties file.

For instance:

clientConfig = fluxFactory.makeConfigurationFromProperties("C:/flux-7-2-2/config/start-secure-flux-engine.fec");
Average User Rating
(0 ratings)




There are no comments on this document