@Override
public void doAction(Operation operation, Response response, RequestContext request,
ApplicationContext application) {
String name = (String) operation.getArguments().get("name");
String scope = (String) operation.getArguments().get("scope");
NitDesc n = new NitDesc();
n.setSpec(NitDesc.NitSpec.valueOf((String) operation.getArguments().get("spec")));
n.setTheClass((String) operation.getArguments().get("theClass"));
n.setScript((String) operation.getArguments().get("script"));
try {
Filter f = FilterFactory.createFilter(io.teknek.nit.NitFactory.construct(n));
if ("session".equalsIgnoreCase(scope)){
request.getSession().putFilter(name, f);
} else if ("application".equalsIgnoreCase(scope)){