code: @Override
      public void setUserPrincipals(Map<String, String> userPrincipals) {
          this.userPrincipals = userPrincipals;
          this.serviceManagementBean.addUserPrincipals(session, userPrincipals);
      }
docs: The following is intended to run ON the IO thread