mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 18:41:37 +00:00
Polish
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@EnableGlobalMethodSecurity(prePostEnabled = true)
|
||||
@RestController
|
||||
public class SampleSecureOAuth2Application {
|
||||
|
||||
|
||||
@RequestMapping("/user")
|
||||
public Principal user(Principal user) {
|
||||
return user;
|
||||
|
||||
Reference in New Issue
Block a user