From 2b364997005d779288f1293b1caeeeaf65fb12a6 Mon Sep 17 00:00:00 2001 From: Dmitriy Grushin <92273103+dmitriygrushin@users.noreply.github.com> Date: Sat, 10 Dec 2022 15:31:05 -0500 Subject: [PATCH] Update expression-based.adoc Removed a duplicate paragraph that was phrased a bit differently. --- .../ROOT/pages/servlet/authorization/expression-based.adoc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/modules/ROOT/pages/servlet/authorization/expression-based.adoc b/docs/modules/ROOT/pages/servlet/authorization/expression-based.adoc index 75f3042be6..395cae873f 100644 --- a/docs/modules/ROOT/pages/servlet/authorization/expression-based.adoc +++ b/docs/modules/ROOT/pages/servlet/authorization/expression-based.adoc @@ -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.