docs: public URBridgeEntity createObject(Entity entity, URBridge urBridge,
                                         Map<String, String> attrMap, String baseEntryName, Map<String, String> entityConfigMap) throws WIMException {
          String entityType = entity.getTypeName();
          URBridgeEntity obj = null;
  
          if (Service.DO_GROUP.equals(entityType)
              || Entity.getSubEntityTypes(Service.DO_GROUP).contains(entityType)) {
              obj = new URBridgeGroup(entity, urBridge, attrMap, baseEntryName, entityConfigMap);
          } else if (Service.DO_LOGIN_ACCOUNT.equals(entityType)
                     || Entity.getSubEntityTypes(Service.DO_LOGIN_ACCOUNT).contains(entityType)) {
              obj = new URBridgePerson(entity, urBridge, attrMap, baseEntryName, entityConfigMap);
          } else {
              throw new WIMApplicationException(WIMMessageKey.ENTITY_TYPE_NOT_SUPPORTED, Tr.formatMessage(tc, WIMMessageKey.ENTITY_TYPE_NOT_SUPPORTED,
                                                                                                          WIMMessageHelper.generateMsgParms(entityType)));
          }
          return obj;
      }