未设置授权缓存
解决:
只需要关闭授权缓存:
myRealm.authorizationCachingEnabled = false
我是springboot项目:
在配置authRealm的bean里加上:
authRealm.setAuthorizationCachingEnabled(false);
如下:
未设置授权缓存
解决:
只需要关闭授权缓存:
myRealm.authorizationCachingEnabled = false
我是springboot项目:
在配置authRealm的bean里加上:
authRealm.setAuthorizationCachingEnabled(false);
如下: