系统通过nginx了,就报这样的错;撤了tomcat就正常

提问 未结 1 123
袋鼠
袋鼠 VIP3 2021-09-06 10:25:14
悬赏:20积分 收藏
产品:vue 版本:
内部错误,操作异常; 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. 内部错误,操作异常; 这个主题是匿名的——它没有任何标识主体,授权操作需要一个标识来检查。当以前登录的主题已注销,使其再次匿名时,也会发生此异常。由于这些条件中的任何一个,当前身份都不知道,因此拒绝授权。
回帖
  • 2021-09-06 14:46:31   最后修改:2021-09-21 08:07:34
    shiro配置错了
    1 回复