class CurrentUserRestController {

    @RequestMapping(value = CURRENT_USER_URI_PREFIX, method = RequestMethod.GET)
    @PreAuthorize("isAuthenticated()")
    @Secured(SecurityFunctions.FN_CURRENT_USER_GET)
    public UserAuthorizations getCurrentUser()
    {
        return currentUserService.getCurrentUser();
    }

}