In this tutorial application, the security feature is implemented by using the Authorization service provided by Web NMS. This service supports authorization of application-specific tasks or operations. The architecture also supports user and group-based authorization as well as view-based authorization. By using this authorization service, you can limit the users access to a specific area or subset of objects or instances.
For instance, you can limit the access for a particular user to a certain kind of device. It also provides group-based authorization, where users can be assigned to groups, which have configured levels of authorization, in addition to authorizing specific users. Based on the group that the user belongs to, the components in the Configuration Screen is enabled or disabled.
To use the security feature with this tutorial application, views and operations need to be added to the database tables.
Using Eclipse Plugin to Configure Security features
Security configuration used in this application was achieved using the Security Administration tool bundled in the AdventNet Web NMS.
You can add or edit the operations node or modify the existing node as per your requirement using the Security Administration screen, which is invoked from the menu bar. Also, you can assign permission to operations for various users.
Compile the project successfully then it is necessary to bundle all the modified application and files of your project into a single file called a NAR. This can be done by Packing the Project. To Package the Project , refer to the section Packaging the Project in Eclipse Guide for more details.
To view the changes in Web NMS, the NAR should be installed over Web NMS. This task can be performed using the Nar Installer present in the Deployment Wizard. You can invoke the Deployment Wizard by using the WebNMS > Tools > Deployment Wizard menu. For more details , refer to Installing Eclipse Project in Web NMS section in the Eclipse Guide.
Before Deploying the NAR , Invoke the Security Administration Tool from Web NMS Installation.
For details of working with Security Administration tool of AdventNet Web NMS, refer to the WebNMS Developer Guide.
Refer to Using Authorization Service topic in this tutorial for steps to configure authorization service.