该问题需要使用异常管理:
<!-- 无权访问跳转的页面 -->
???<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
??????? <property name="exceptionMappings">
??????????? <props>
??????????????? <prop key="org.apache.shiro.authz.UnauthorizedException">refuse</prop>
??????????? </props>
??????? </property>
???</bean>
shiro 配置注解后无权访问不进行页面跳转异常:org.apache.shiro.authz.UnauthorizedException: Subject does not have permission
原文地址:http://www.cnblogs.com/bg7c/p/8107928.html