Skip to content

Commit 2b36499

Browse files
dmitriygrushinjzheaux
authored andcommitted
Update expression-based.adoc
Removed a duplicate paragraph that was phrased a bit differently.
1 parent 7dd5cc6 commit 2b36499

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/modules/ROOT/pages/servlet/authorization/expression-based.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,6 @@ fun doSomething(contact: Contact?)
396396
----
397397
====
398398

399-
Here we are accessing another built-in expression, `authentication`, which is the `Authentication` stored in the security context.
400-
You can also access its "principal" property directly, using the expression `principal`.
401-
The value will often be a `UserDetails` instance, so you might use an expression like `principal.username` or `principal.enabled`.
402-
403399
.[[el-pre-post-annotations-post]]
404400
Here, we access another built-in expression, `authentication`, which is the `Authentication` stored in the security context.
405401
You can also access its `principal` property directly, by using the `principal` expression.

0 commit comments

Comments
 (0)