public String unsubscribeServers() {
    Subject subject = EnterpriseFacesContextUtility.getSubject();
    String[] selectedServerIdStrings =
        FacesContextUtility.getRequest().getParameterValues("selectedServersToUnsubscribe");

    // Parse the server IDs to ints
    Integer[] selectedServerIds = new Integer[selectedServerIdStrings.length];
    for (int ii = 0; ii < selectedServerIdStrings.length; ii++) {
      selectedServerIds[ii] = Integer.parseInt(selectedServerIdStrings[ii]);
    }

    // Update the group
    affinityGroupManager.removeServersFromGroup(subject, selectedServerIds);

    return "successOrFailure";
  }
 private String[] getSelectedRepoSubscriptions() {
   return FacesContextUtility.getRequest().getParameterValues("selectedRepoSubscriptions");
 }