mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-10-23 02:38:48 +00:00
Polish javadoc
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
parent
08fa272749
commit
dcd7490ddd
@ -48,7 +48,7 @@ import org.springframework.util.PropertyPlaceholderHelper;
|
||||
*
|
||||
* <pre>
|
||||
* @PreAuthorize("hasRole({role})")
|
||||
* public @annotation HasRole {
|
||||
* public @interface HasRole {
|
||||
* String role();
|
||||
* }
|
||||
* </pre>
|
||||
|
@ -30,7 +30,7 @@ package org.springframework.security.core.annotation;
|
||||
* return switch (this) {
|
||||
* case READ -> "user.permission-read";
|
||||
* case WRITE -> "user.permission-write";
|
||||
* }
|
||||
* };
|
||||
* }
|
||||
*
|
||||
* }
|
||||
|
Loading…
x
Reference in New Issue
Block a user