allow overriding of the configuration source

Currently configuration parameters are read from init parameters in web.xml. In my project I have the need to read this configuration from another file (I need to use the same war in different environments that require different parameters), so I have modified the class to allow subclasses to override from where the configuration parameters are read from.