I am try to understand how to get role based security to work. As I was searching, I found this thread and the implementation
http://karaf.922171.n3.nabble.com/Some-thoughts-around-adding-security-for-Karaf-Shell-Commands-td4029474.html https://issues.apache.org/jira/browse/KARAF-2455 Which (fortunately) has been merged into the trunk. Still, I can not find documentation or a complete example on how to secure a service using annotation like @RolesAllowed or @RunAs .. etc. Thank you.
