Web configuration for REST services and login filter was moved from the web.xml file to code annotations.