Insufficient permission when accessing REST API
search cancel

Insufficient permission when accessing REST API


Article ID: 4202


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


Web Service REST API never prompted for BASIC authentication and immediately defaulted to the error:
Insufficient permission for operation - permission required:Web Service


Any UIM Version


Examine <Nimsoft>\probes\service\wasp\conf\web.xml.
Look for the presence of any <security-constraint> directives like the following:
      <web-resource-name>Entire Application</web-resource-name>

These directives are not present in the default web.xml.  They are used for HTTPS redirection of UMP requests.


To resolve this issue, remove the above <security-constraint> directive from the file referenced above, and instead, place it in the file <Nimsoft>\probes\service\wasp\webapps\ROOT\WEB-INF\web.xml instead, it will work properly while still allowing UMP requests to be redirected to HTTPS appropriately.

It is also possible for this message to be returned when the ACLs need to be reset. To do thisĀ open Infrastructure Manager, and go to Security-> Manage ACLs.
From here, click "OK" without making any changes.
This causes a reset of the user permissions and corrects the issue.