Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This chapter discribes the data flow for autorization and authentification by the UX-Framework. For autorization the machanismes provided by SDNC (SDNC-485) of the Application Authorization Framework Project are used. 

For Authentication ODL-AAA bundle is used. Please https://docs.opendaylight.org/en/stable-oxygen/user-guide/authentication-and-authorization-services.html#

Gliffy Diagram
nameNetConf-Notification-Handling
pagePin11


Example

Token request:

curl -d 'grant_type=password&username=admin&password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U&scope=sdn' http://localhost:8181/oauth2/token

Token response:

{"access_token":"34e8340a-0d2f-3bc0-90eb-369a636dd6f2","token_type":"Bearer","expires_in":36000}


Default request:

curl -v -H "Authorization: Bearer 34e8340a-0d2f-3bc0-90eb-369a636dd6f2" http://localhost:8181/restconf/operational/network-topology:network-topology/topology/topology-netconf


Please find more info:

https://docs.opendaylight.org/en/stable-oxygen/user-guide/authentication-and-authorization-services.html#

Related Jiras:

SDNC-584SDNC-648