Class CurrentUserAjaxController
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.ajax.CurrentUserAjaxController
-
@Controller @RequestMapping("/ajax/users/current") public class CurrentUserAjaxController extends java.lang.Object
UI Controller to get information about the current user
-
-
Constructor Summary
Constructors Constructor Description CurrentUserAjaxController(UserService userService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<CurrentUser>
getCurrentUserDetails()
Get information about the current user
-
-
-
Constructor Detail
-
CurrentUserAjaxController
@Autowired public CurrentUserAjaxController(UserService userService)
-
-
Method Detail
-
getCurrentUserDetails
@GetMapping("") public org.springframework.http.ResponseEntity<CurrentUser> getCurrentUserDetails()
Get information about the current user- Returns:
CurrentUser
-
-