docs: protected static Optional<URIBuilder.BasicNameValuePair> getEntityIdAsParameter(final Service service) {
          val builder = new URIBuilder(service.getId());
          return builder.getQueryParams()
              .stream()
              .filter(p -> p.getName().equals(SamlProtocolConstants.PARAMETER_ENTITY_ID))
              .findFirst();
      }