@RestController
@RequestMapping(value="/rest",
produces={"application/xml","application/json"})
public class CurrentUserRestController
extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_USER_URI_PREFIX |
| Constructor and Description |
|---|
CurrentUserRestController() |
| Modifier and Type | Method and Description |
|---|---|
UserAuthorizations |
getCurrentUser()
Gets all authorizations for the current user.
|
public static final String CURRENT_USER_URI_PREFIX
@RequestMapping(value="/currentUser",
method=GET)
@PreAuthorize(value="isAuthenticated()")
@Secured(value="FN_CURRENT_USER_GET")
public UserAuthorizations getCurrentUser()
Copyright © 2021. All rights reserved.