0

In Spring Security, we have a “anonymously authenticated user ” = ROLE_ANONYMOUS role. What is the benefit and use case of this role? More specifically how is it different from an unauthenticated user?

This link goes into some detail, but I really am not able to understand in what situations a ROLE_ANONYMOUS would be useful.

dur
  • 14,335
  • 22
  • 74
  • 113
HopeKing
  • 2,925
  • 3
  • 37
  • 57
  • checkout this answer: https://stackoverflow.com/questions/26101738/why-is-the-anonymoususer-authenticated-in-spring-security/26117007#26117007 – Vlad Dmitriev May 23 '17 at 11:08
  • Possible duplicate of [Why is the 'anonymousUser' authenticated in Spring Security?](https://stackoverflow.com/questions/26101738/why-is-the-anonymoususer-authenticated-in-spring-security) – dur May 23 '17 at 15:40

0 Answers0