public void setWebContextFactoryIfUndefined(final WebContextFactory webContextFactory) {
        if (this.webContextFactory == null) {
            setWebContextFactory(webContextFactory);
        }
    }
<p>setWebContextFactoryIfUndefined.</p>

@param webContextFactory a {@link WebContextFactory} object
pac4j-core/src/main/java/org/pac4j/core/config/Config.java