docs: protected void configureClient(final BaseClient client, final Pac4jBaseClientProperties props) {
          val cname = props.getClientName();
          if (StringUtils.isNotBlank(cname)) {
              client.setName(cname);
          } else {
              val className = client.getClass().getSimpleName();
              val genName = className.concat(RandomStringUtils.randomNumeric(2));
              client.setName(genName);
              LOGGER.warn("Client name for [{}] is set to a generated value of [{}]. "
                  + "Consider defining an explicit name for the delegated provider", className, genName);
          }
          val customProperties = client.getCustomProperties();
          customProperties.put(ClientCustomPropertyConstants.CLIENT_CUSTOM_PROPERTY_AUTO_REDIRECT, props.isAutoRedirect());
          if (StringUtils.isNotBlank(props.getPrincipalAttributeId())) {
              customProperties.put(ClientCustomPropertyConstants.CLIENT_CUSTOM_PROPERTY_PRINCIPAL_ATTRIBUTE_ID, props.getPrincipalAttributeId());
          }
      }