private static String addElement(final String elements, final String element) {
        if (StringUtils.isNotBlank(elements)) {
            return elements + Pac4jConstants.ELEMENT_SEPARATOR + element;
        } else {
            return element;
        }
    }
<p>buildConfig.</p>

@param endpoint a {@link SecurityEndpoint} object
@param parameters a {@link Object} object
pac4j-core/src/main/java/org/pac4j/core/util/security/SecurityEndpointBuilder.java