[AAA-57] odl-aaa-authz does not work in Lithium or Beryllium Created: 13/Aug/15  Updated: 21/Mar/19  Resolved: 21/Aug/15

Status: Resolved
Project: aaa
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Ryan Goulding Assignee: Ryan Goulding
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4139

 Description   

odl-aaa-authz does not work in Lithium. After installing the following features:

> feature:install odl-aaa-authn odl-aaa-authz odl-restconf

Restconf calls are not proxied through AuthzServiceImpl. This works in stable/helium, so something changed between helium & lithium which causes this behavior.



 Comments   
Comment by Wojciech Dec [ 20/Aug/15 ]

I tried it using the Lithium AAA karaf, and it works fine, i.e. a Restconf GET is proxied to the AuthZReadOnlyTransaction read.

Note: Only Restconf GET's currently do anything but delegate to the real data broker.

Would need more info on the issue you're seeing...

Comment by Wojciech Dec [ 20/Aug/15 ]

Ah, I see the likely problem: You installed odl-aaa-authz followed by odl-restconf, ie two features in series.
This meant that Restconf got first re-wired by AuthZ to go thru AuthZ and then rewired again to go through the regular broker.

Try just doing just old-aaa-uthz install.

Comment by Ryan Goulding [ 21/Aug/15 ]

You are correct. I have added documentation surrounding this here:
https://wiki.opendaylight.org/view/AAA:Authorization_Hello_World_Example

Generated at Wed Feb 07 19:08:31 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.