[SOLVED] How to Connect as an Admin Client to Union?

All Union Platform questions, comments, feature requests, and bug reports.

How to Connect as an Admin Client to Union?  

Postby sean » Tue 15 Nov 2011 03:00

Hey there,

I can't seem to find anywhere in the documentation or Reactor API of how to connect to Union server as an "authenticated" Admin client...is it just a matter of connecting to the the Admin Gateway port? I assume the Admin password needs to be specified somehow but I have no idea where to do this...I am trying to make my own Admin tool...
sean
 
Posts: 40
Joined: Sun 13 Nov 2011 15:47

Re: How to Connect as an Admin Client to Union?

Postby colin » Wed 16 Nov 2011 16:52

hi sean,
to login as an admin, connect to the admin port, then send an "a1" upc with the password, like this:

Code: Select all
reactor.getMessageManager().sendUPC("a1", "yourPassword");


for a list of admin commands, see the unofficial admin upc specification here:
http://www.unionplatform.com/specs/uap/

note that in the future, we plan to move all commands from that spec into the main upc specification, and limit usage using union's security roles.

colin
colin
 
Posts: 232
Joined: Mon 17 Oct 2011 18:47

Re: How to Connect as an Admin Client to Union?

Postby sean » Wed 16 Nov 2011 16:58

Thanks Colin, I was able to figure out that I needed to send an "a1" message by monitoring the Server messages while using the Union Admin tool.

Thanks for the reference to all of the other Admin commands...I don't think there is a link to it from the main site, I guess since it's still in "unofficial" status.
sean
 
Posts: 40
Joined: Sun 13 Nov 2011 15:47


Return to Union Platform

Online

Users browsing this forum: No registered users and 3 guests