org.apache.shiro.realm.AuthorizingRealm
项目中用spring shiro来处理权限的问题,但是启动的时候会打印如下日志org.apache.shiro.realm.AuthorizingRealm- No cache or cacheManager properties have been set.Authorization cache cannot be obtained.
检查了basicRelam配置如下
BasicRealm继承自AuthorizingRealm
根据提示信息可以判断未给BasicRealm指定cacheManager,所以修改如下
页:
[1]