private void removeAuthority() {
   try {
     getProgressPanel().showProgress("Removing authority...");
     GTSAdminClient client = getSession().getSession().getAdminClient();
     AuthorityGTS gts = this.getAuthorityTable().getSelectedAuthority();
     client.removeAuthority(gts.getServiceURI());
     getAuthorities();
     getProgressPanel().stopProgress("Authority successfully removed.");
   } catch (Exception e) {
     ErrorDialog.showError(e);
     getProgressPanel().stopProgress("Error");
     FaultUtil.logFault(log, e);
   }
 }
  private void updatePriorities() {
    try {

      disableAllActions();
      getProgressPanel().showProgress("Updating priorities...");
      GTSAdminClient client = getSession().getSession().getAdminClient();
      client.updateAuthorityPriorities(getAuthorityTable().getPriorityUpdate());
      getProgressPanel().stopProgress("Successfully updated the priorities.");
    } catch (Exception e) {
      ErrorDialog.showError(e);
      getProgressPanel().stopProgress("Error");
      FaultUtil.logFault(log, e);
    } finally {
      enableAllActions();
    }
  }