public String[] getGroupNames( String user,
String realmName,
String targetName)
throws MBeanException
{
final Target target = getListTarget(targetName);
realmName = (realmName != null) ?
realmName : getDefaultAuthRealm(target);
final ObjectName authRealm = getAuthRealmMBean(target, realmName);
return (String[])invoke1(authRealm, "getUserGroupNames",
user, String.class.getName());