Looking up a Secured Engine Using the API

The following code snippet demonstrates how to look up a secured engine with the API:

//    The host name, port number, and SSL setting of the engine to look up.
    Engine engine = Factory.makeInstance().lookupEngine("localhost"7250true);
//    Log in to the engine. Without logging in, any secured methods attempted on the engine will fail with an exception.
//    …Your code here…
//    Log out of the engine.
Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.