protected String buildAttributesList(final Iterable<String> names) {
        val sb = new StringBuilder();
        var firstOne = true;
        for (val name : names) {
            if (!firstOne) {
                sb.append(",");
            }
            sb.append(name);
            firstOne = false;
        }
        return sb.toString();
    }
<p>buildAttributesList.</p>

@param names a {@link List} object
@return a {@link String} object
pac4j-sql/src/main/java/org/pac4j/sql/profile/service/DbProfileService.java