public void setProfileManagerFactoryIfUndefined(final ProfileManagerFactory profileManagerFactory) {
        if (this.profileManagerFactory == null) {
            setProfileManagerFactory(profileManagerFactory);
        }
    }
<p>setProfileManagerFactoryIfUndefined.</p>

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