Shiro successfully logged in, but isAuthenticated is false

  • my backend uses java+springmvc+mybatis+shiro
  • immediately after a successful login, you use isAuthenticated to verify the authentication status, but you get false
  • .
  • what situation will cause such a problem?
  • configuration instructions:
    use single realm authentication
    use MD5 encryption (encryption vs. password tested)
  • I reviewed the code several times but found no problem. If I want to post it, I don"t even know where to post the code. If there is really a need,
    Please point out where to code
  • .
Dec.29,2021

solved the cross-domain problem. The front-end project should be compiled and then tested. What a hoax.

Menu