Merge branch '6.0.x'

This commit is contained in:
Josh Cummings 2023-02-07 14:15:26 -07:00
commit c4485a8909
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
1 changed files with 0 additions and 4 deletions

View File

@ -396,10 +396,6 @@ fun doSomething(contact: Contact?)
----
====
Here we are accessing another built-in expression, `authentication`, which is the `Authentication` stored in the security context.
You can also access its "principal" property directly, using the expression `principal`.
The value will often be a `UserDetails` instance, so you might use an expression like `principal.username` or `principal.enabled`.
.[[el-pre-post-annotations-post]]
Here, we access another built-in expression, `authentication`, which is the `Authentication` stored in the security context.
You can also access its `principal` property directly, by using the `principal` expression.