Skip to content

Commit da65830

Browse files
tahakorkemjzheaux
authored andcommitted
Use Correct Meta-Annotation in Kotlin Sample
1 parent c1b3b32 commit da65830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/servlet/authorization/method-security.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ Kotlin::
955955
@Target(ElementType.METHOD, ElementType.TYPE)
956956
@Retention(RetentionPolicy.RUNTIME)
957957
@PreAuthorize("hasRole('{value}')")
958-
annotation class IsAdmin(val value: String)
958+
annotation class HasRole(val value: String)
959959
----
960960
======
961961

0 commit comments

Comments
 (0)