/** * Replace the principals in first group with those in the second * @param fg * @param sg * @return */ public static Group replacePrincipals(Group fg, Group sg) { return addPrincipals( removePrincipals(fg),sg.members()); }
/** * Replace the principals in first group with those in the second * @param fg * @param sg * @return */ public static Group replacePrincipals(Group fg, Group sg) { return addPrincipals( removePrincipals(fg),sg.members()); }