Details
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
Attachments
Issue Links
- Blocked
-
KARAF-3823 introduce karaf.secured.command.compulsory.roles system property
- Resolved