mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-03 11:59:08 +00:00
Fix convention
This commit is contained in:
parent
42327a0aec
commit
3f3a3e8351
@ -11,7 +11,7 @@ public class HelloMessageService implements MessageService {
|
||||
@PreAuthorize("authenticated")
|
||||
public String getMessage() {
|
||||
Authentication authentication = SecurityContextHolder.getContext()
|
||||
.getAuthentication();
|
||||
.getAuthentication();
|
||||
return "Hello " + authentication;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user