- 主题:chrome88 登录,出org.apache.shiro.authz.UnauthenticatedExce
Firefox没问题,换chrome版本就好了,换成chrome78就好了。前台登录看不出问题,后台报错如下:
org.apache.shiro.authz.UnauthenticatedException: This subject is anonymous - it does not have any identifying principals and authorization operations require an identity to check against. A Subject instance will acquire these identifying principals automatically after a successful login is performed be executing org.apache.shiro.subject.Subject.login(AuthenticationToken) or when 'Remember Me' functionality is enabled by the SecurityManager. This exception can also occur when a previously logged-in Subject has logged out which makes it anonymous again. Because an identity is currently not known due to any of these conditions, authorization is denied.
哪位大神知道为什么chrome88登录,会导致后台报错吗?太难理解了。。。 网上搜了一下这个错误,报错和我的一样,可是问题根本不一样。难道是我chrome88设置的问题?要设置哪里好呢?
--
FROM 117.66.147.*
我觉得应该是chrome88的问题,在哪里可以向chrome开发者提bug呢?
--
FROM 117.66.147.*
你看看是不是chrome新版本的cookie安全机制 samesite 的更新的导致的。这个很有可能会影响认证时所使用的cookie机制。
【 在 feng321 的大作中提到: 】
: Firefox没问题,换chrome版本就好了,换成chrome78就好了。前台登录看不出问题,后台报错如下:
: org.apache.shiro.authz.UnauthenticatedException: This subject is anonymous - it does not have any identifying principals and authorization operations require an identity to check against. A Subject instance will acquire these identifying principals automatically after a successful login is performed be executing org.apache.shiro.subject.Subject.login(AuthenticationToken) or when 'Remember Me' functionality is enabled by the SecurityManager. This exception can also occur when a previously logged-in Subject has logged out which makes it anonymous again. Because an identity is currently not known due to any of these conditions, authorization is denied.
:
: ...................
--
FROM 106.121.186.*
谢谢,有空我试试
【 在 syssky 的大作中提到: 】
: 你看看是不是chrome新版本的cookie安全机制 samesite 的更新的导致的。这个很有可能会影响认证时所使用的cookie机制。
:
--
FROM 117.66.163.*