shiro注解@RequiresPermissions失效问题
shiro注解@RequiresPermissions失效问题
问题原因
我遇到的失效原因是,我将使用@RequiresPermissions进行权限校验的Controller在其他层进行了@Autowired。
上面的位置之所以失效,是因为我将当前controller在其它层进行了@Autowired。
问题原因
我遇到的失效原因是,我将使用@RequiresPermissions进行权限校验的Controller在其他层进行了@Autowired。
上面的位置之所以失效,是因为我将当前controller在其它层进行了@Autowired。