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