Update WebAppInitializer.java

new config implementation