安全认证关键字

The Authentication contains:

principal - identifies the user. When authenticating with a username/password this is often an instance of UserDetails.

credentials - Often a password. In many cases this will be cleared after the user is authenticated to ensure it is not leaked.

authorities - the GrantedAuthoritys are high level permissions the user is granted. A few examples are roles or scopes.

 

posted @ 2020-08-02 00:41  阿布都日  阅读(156)  评论(0编辑  收藏  举报