RBAC in OpenDaylight is useful to authorize the user access to OpenDaylight resources. OpenDaylight relies on the Shiro framework to apply the RBAC based on the predefined URLs in Shiro configurations. In this recipe, you will learn how to restrict the user role from accessing specific OpenDaylight REST APIs.
Basic filtering for RBAC in OpenDaylight
Getting ready
This recipe required a new refresh OpenDaylight Beryllium distribution.
How to do it...
- Start the OpenDaylight distribution using the karaf script. Using this client will give you access to the Karaf CLI:
$...