JHipster "anonymoususer" 登录

JHipster "anonymoususer" login

我使用 JHipster 生成了一个单体应用程序,它默认为我生成了一些用户 (管理员、系统、用户和匿名用户) "anonymoususer"。我尝试使用 anonymoususer 登录,但我不能,因为我没有密码。谁能告诉我这个用户的用途?

By default, JHipster comes with 4 different users:

  • “system”, who is mainly used by our audit logs, when something is done automatically
  • “anonymousUser”, who is given to anonymous users when they do an action
  • “user”, who is a normal user with “ROLE_USER” authorization. His default password is “user”
  • “admin”, who is an admin user with “ROLE_USER” and “ROLE_ADMIN” authorizations. His default password is “admin”

https://www.jhipster.tech/security/