protected void setProfileCreatorIfUndefined(final ProfileCreator profileCreator) {
        if (this.profileCreator == null || this.profileCreator == AuthenticatorProfileCreator.INSTANCE) {
            this.profileCreator = profileCreator;
        }
    }
<p>setProfileCreatorIfUndefined.</p>

@param profileCreator a {@link ProfileCreator} object
pac4j-core/src/main/java/org/pac4j/core/client/BaseClient.java