# 动作链

`resources/config/chain/nutzwk-mvc-chain.json`

~~~
var chain={
	"default" : {
		"ps" : [
			  "cn.wizzer.app.web.commons.processor.LogTimeProcessor",
			  "cn.wizzer.app.web.commons.processor.GlobalsSettingProcessor",
			  "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor",
		      "org.nutz.mvc.impl.processor.EncodingProcessor",
		      "org.nutz.mvc.impl.processor.ModuleProcessor",
              "cn.wizzer.app.web.commons.processor.NutShiroProcessor",
              "cn.wizzer.app.web.commons.processor.XssSqlFilterProcessor",
		      "org.nutz.mvc.impl.processor.ActionFiltersProcessor",
		      "org.nutz.mvc.impl.processor.AdaptorProcessor",
		      "org.nutz.mvc.impl.processor.MethodInvokeProcessor",
			  "org.nutz.mvc.impl.processor.ViewProcessor"
		],
		"error" : 'org.nutz.mvc.impl.processor.FailProcessor'
	}
};
~~~
* [GlobalsSettingProcessor](03.02.01.GlobalsSettingProcessor.md) 将全局变量、常用工具类、国际化语言对象输出到视图
* [LogTimeProcessor](03.02.02.LogTimeProcessor.md) 打印请求的响应耗时
* [XssSqlFilterProcessor](03.02.03.XssSqlFilterProcessor.md) 过滤SQL注入和跨站攻击关键词
* [NutShiroProcessor](../02.Shiro/02.02.Settings.md) Shiro权限拦截，在`权限体系`里有过说明
