[CONTROLLER-856] odl-restconf feature is not properly bringing in odl-aaa-authn Created: 18/Sep/14 Updated: 19/Oct/17 Resolved: 25/Sep/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ed Warnicke | Assignee: | Ed Warnicke |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 1948 | ||||||||
| Description |
|
odl-restconf feature does not properly depend on odl-aaa-authn and thus if it is started before authn a) Does not have authentication 2014-09-17 01:55:16,104 | WARN | pool-15-thread-1 | AbstractLifeCycle | 213 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | FAILED org.eclipse.jetty.security.ConstraintSecurityHandler@1830c120: java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.BasicAuthenticator@3771ebd0 in org.eclipse.jetty.security.ConstraintSecurityHandler@1830c120 2014-09-17 01:55:12,053 | ERROR | pool-15-thread-2 | WebAppPublisher | 228 - org.ops4j.pax.web.pax-web-extender-war - 3.1.0 | Error deploying web application |
| Comments |
| Comment by Tony Tkacik [ 18/Sep/14 ] |
|
ODL Restconf feature must not depend on odl-aaa-authn feature (dependency cycle). |
| Comment by Liem Nguyen [ 18/Sep/14 ] |
|
Echoing Tony... Do we have an "integration" feature that allows installing of odl-aaa-authn and odl-restconf together? This would solve this issue for now. In the next release, we probably want to move away from web.xml and use the whiteboard extender pattern so restconf can react to authn joining/leaving. I am investigating into this... |
| Comment by Tony Tkacik [ 19/Sep/14 ] |
|
So Integration projects defines several features (odl-integration-compatible-with-all and others), |