I am creating a restmon schema and need to use basic authentication. I can add the basis setting to the definition section of the schema but how do I add username and password. I tried simply using username and password properties but that did not work, the restmon log continues to show 401 error. There is no documentation on how this should be done. This is a local UIM 20.1 installation.
Release : 20.1
Component : REST API
auth:
username -> Specify the username. Applies only when the authentication type is basic or NTLM. String
password -> Specify the password. Applies only when the authentication type is basic or NTLM. String
Supported authentication mechanisms are: basic; digest; ntlm; token; bearer; urltoken; Outh2
The following is a sample snippet of the restapiconnectdetails section:
"restapiconnectdetails":{ "type":"http",
"hostname":"test.example.net",
"port":"",
"authentication":"ntlm",
"username":"sampleUsername",
"password":"samplePassword",
"realmdomain":"",
"token":"",
"httptimeout":"120000",
"checkcert":"no"
},
You can add a header in the url definition section like below.
"headers": {
"Accept": "application/json"
}
The username & password fields should be part of definition section only.
Documentation for RestMon below.
Note that Nodes are not applicable for UIM. APM/Digital OI schema use the Nodes objects to populate Topology of Monitoring technology.