using a webapp adapter to map filters; creating filters programatically