Add possibility to specify session configuration in web.xml file