Wrong user being inserted when using API
2012-07-14 14:43:14 GMT
Hey All,
When using the REST API to ack a notice i can see it is inserting "admin" as the user, despite logging in with a different user (which does have access to REST)
If i do it through the OpenNMS GUI it inserts the correct one
Command in use is:
curl -v -X POST -d 'ack' -u testuser:TEST http://opennmsdev:8980/opennms/rest/acks?notifId=45
It acks the event, but the ack'ing user always shows as admin
Is anyone able to replicate this?
Thoughts appreciated
Thanks guys!
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss
RSS Feed