public void tryCreateDirectBasciAuthClient(final Collection<Client> clients) {
        for (var i = 0; i <= MAX_NUM_CLIENTS; i++) {
            val authenticator = getProperty(DIRECTBASICAUTH_AUTHENTICATOR, i);
            if (StringUtils.isNotBlank(authenticator)) {
                val directBasicAuthClient = new DirectBasicAuthClient();
                directBasicAuthClient.setAuthenticator(getAuthenticator(authenticator));
                directBasicAuthClient.setName(concat(directBasicAuthClient.getName(), i));
                clients.add(directBasicAuthClient);
            }
        }
    }
<p>tryCreateDirectBasciAuthClient.</p>

@param clients a {@link java.util.List} object
pac4j-config/src/main/java/org/pac4j/config/builder/DirectClientBuilder.java