由于shiro是通过过滤器拦截的,所以第一步在web.xml中进行过滤器的配置
web.xml:
shiro实战整合
原文:http://www.cnblogs.com/jiangbei/p/7221565.html