karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Lichtin <lich...@yahoo.com>
Subject Is local access to MBeans also protected
Date Tue, 10 Mar 2015 13:23:58 GMT
I understand that access to MBeans is protected via RBAC mechanism:


However, is this also the case for code running inside Karaf?
E.g. when doing 

   MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();

it seems I can access all MBeans without requiring a username/password.

However, this is not reliable.
Depending on startup timing (or something else), _sometimes_
I receive "Insufficient roles/credentials for operation" for a query,
indicating that KarafMBeanServerGuard is intervening.

View raw message