Upgraded to support dw 0.7.0 and shiro 1.2.3