安全认证关键字
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.