- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2017 07:18 AM
Hi!
Unfortunately I don't have an example of decrypting the password. I'd suggest you open a separate thread on it.
If you have a Java service, you'll actually get the Navu object as part of the call:
17 public Properties create(ServiceContext context,
18 NavuNode service,
19 NavuNode ncsRoot,
20 Properties opaque) throws ConfException {
NavuList devices = ncsRoot.container("devices").list("device");
NavuListEntry theDevice = devices.elem("the-device");
NavuContainer newDevice = devices.create("the-new-device");
If you need to create the Navu from a Maapi object, you could do this:
oth is a thread handle
NavuContext context = new NavuContext(maapi, oth);
NavuList devices = (NavuList) new NavuContainer(context).getNavuNode(new ConfPath("/ncs:devices/ncs:device"));
I hope that helps!
Cheers,
Fredrik