Class UserMenuRestController

java.lang.Object
sk.iway.iwcm.admin.layout.UserMenuRestController

@RestController @PreAuthorize("@WebjetSecurityService.isAdmin()") public class UserMenuRestController extends Object
Loads account status only when the administrator opens the user menu.
  • Constructor Details

  • Method Details

    • status

      @GetMapping("/admin/rest/user-menu") public org.springframework.http.ResponseEntity<UserMenuRestController.Status> status(jakarta.servlet.http.HttpServletRequest request)
      Uses the same cluster records and outstanding device notices as the dashboard.
      Parameters:
      request - request identifying the signed-in administrator
      Returns:
      uncached counts and second-factor status without session IDs or credentials