";jaas:grouproleadd " + managerGroup + " manager" +
";jaas:useradd " + viewerUser + " " + viewerUser +
";jaas:roleadd " + viewerUser + " viewer" +
";jaas:update" +
";jaas:manage --realm karaf" +
";jaas:users", new RolePrincipal("admin")));
JMXConnector connector = getJMXConnector(viewerUser, viewerUser);
MBeanServerConnection connection = connector.getMBeanServerConnection();
ObjectName systemMBean = new ObjectName("org.apache.karaf:type=system,name=root");