Uploaded image for project: 'aaa'
  1. aaa
  2. AAA-85

authEnabled=false always leads to 401

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 4922

    Description

      Up to now, editing etc/org.opendaylight.aaa.authn.cfg file to contain authEnabled=false has lead to every request to be considered authorized.
      But in current Beryllium snapshots, the same edit leads to every request to be considered NOT authorized.

      This is either a regression in functionality, or a new feature which misses documentation (AAA-84).

      Steps to reproduce:
      0. Start ODL.
      1. feature:install odl-restconf
      2. curl -v 127.0.0.1:8181/restconf/modules

      It does not matter whether the edit was done just before step 2 or any other time before.
      It does not matter which restconf URI is used.
      When the line is edited to authEnabled=true at runtime, requests with correct credentials (admin:admin by default) work.

      Another reproduction, in Sandbox: https://jenkins.opendaylight.org/releng/job/aaa-csit-verify-1node-authn/10/robot/report/log.html#s1-s1-t6-k2-k11-k4

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            vrpolak Vratko Polak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: