@RestController
@RequestMapping(path="/ui/user",
produces="application/json")
public class UserRestController
extends java.lang.Object
RestController
which allows the UI to request information about the current user.Constructor and Description |
---|
UserRestController() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
getUserInfo(javax.servlet.http.HttpServletRequest request)
Get the information about the current session user.
|
@GetMapping public com.fasterxml.jackson.databind.JsonNode getUserInfo(javax.servlet.http.HttpServletRequest request)
request
- The http request to get a principal from