Fix convention
This commit is contained in:
@@ -11,7 +11,7 @@ public class HelloMessageService implements MessageService {
|
||||
@PreAuthorize("authenticated")
|
||||
public String getMessage() {
|
||||
Authentication authentication = SecurityContextHolder.getContext()
|
||||
.getAuthentication();
|
||||
.getAuthentication();
|
||||
return "Hello " + authentication;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user