Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4636

karaf.secured.command.compulsory.roles does not work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5
    • Fix Version/s: 4.1.0, 4.0.6
    • Component/s: karaf
    • Labels:
      None

      Description

      The karaf.secured.command.compulsory.roles property in system.properties does not work in Karaf [4.0.1, 4.0.5].

      It does work in Karaf [3.0.5, 3.0.7].

      Easy way to test this is modify users.properties with the following:

      viewer = karaf,_g_:viewergroup
      _g_\:viewergroup = group,viewer
      

      And then add

      karaf.secured.command.compulsory.roles=admin
      

      to system.properties.

      If you log in as viewer, Karaf will allow the execution of commands that do not have ACL defined.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ffang Freeman Fang
                Reporter:
                kevo_tool Kevin O'Toole
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: