What is the difference between ROLE_USER and ROLE_ANONYMOUS in a Spring intercept url configuration?

前端 未结 2 762
夕颜
夕颜 2020-12-17 23:22

What is the difference between ROLE_USER and ROLE_ANONYMOUS in a Spring intercept url configuration such as the example below?



        
2条回答
  •  粉色の甜心
    2020-12-17 23:52

    ROLE_ANONYMOUS has no user credentials, ROLE_USER has user credentials... has been authenticated.

    this is my interpretation based on the configuration provided

提交回复
热议问题