Add support for token based authentication to the XML Collector
Description
In the current state it's not possible to collect data from webservices which require an authentication. eg. Oauth. It would be a big benefit to have this function in ONMS.
This is also relevant to accessing the Azure API. Need to take into account that for Azure, the token needs renewing hourly.
It is possible to put the token in the xml source with the following code in xml-datacollection-config.xml taking data from fields I've manually populated in the asset info:
It would be good if OpenNMS had a native way to handle this, and also the ability to include the token in a detector.
In the current state it's not possible to collect data from webservices which require an authentication. eg. Oauth.
It would be a big benefit to have this function in ONMS.
Project Proposal: https://wiki.opennms.org/wiki/Proposals/XmlCollectorAuthentication