I have a third party jar which has a filter say XYZFilter. Usual way specified to configure this JAR in applications is to make a fresh entry in web.xml with XYZFilter which wil