shiro 没有权限异常处理

<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
  <property name="exceptionMappings">
    <props>
      <prop key="org.apache.shiro.authz.UnauthorizedException">redirect:/test.html</prop>
    </props>
  </property>
</bean>

相关文章:

  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
  • 2021-10-20
猜你喜欢
  • 2021-07-19
  • 2021-05-18
  • 2022-12-23
  • 2022-01-01
  • 2022-03-07
  • 2021-07-16
相关资源
相似解决方案