docs: public Service buildService(final OAuthRegisteredService registeredService, final J2EContext context, final boolean useServiceHeader) {
          var id = StringUtils.EMPTY;
          if (useServiceHeader) {
              id = OAuth20Utils.getServiceRequestHeaderIfAny(context.getRequest());
              LOGGER.debug("Located service based on request header is [{}]", id);
          }
          if (StringUtils.isBlank(id)) {
              id = registeredService.getClientId();
          }
          return webApplicationServiceServiceFactory.createService(id);
      }