From da658305693a2b8813e3964cf873e1fbe1340c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taha=20K=C3=B6rkem?= <65918918+tahakorkem@users.noreply.github.com> Date: Thu, 25 Jul 2024 18:24:27 +0300 Subject: [PATCH] Use Correct Meta-Annotation in Kotlin Sample --- .../ROOT/pages/servlet/authorization/method-security.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc b/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc index bd9813c67c..36243c0917 100644 --- a/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc +++ b/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc @@ -955,7 +955,7 @@ Kotlin:: @Target(ElementType.METHOD, ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @PreAuthorize("hasRole('{value}')") -annotation class IsAdmin(val value: String) +annotation class HasRole(val value: String) ---- ======