Class AdminController

java.lang.Object
io.dialob.boot.controller.BaseController
io.dialob.boot.controller.AdminController

@Controller @RequestMapping("${admin.context-path:/}") public class AdminController extends BaseController
  • Constructor Details

  • Method Details

    • index

      @GetMapping(path={"","/index.html"}, produces="text/html") public String index(org.springframework.security.web.csrf.CsrfToken cfrsToken, org.springframework.ui.Model model, @RequestParam(name="tenantId",required=false) String tenantId, jakarta.servlet.http.HttpServletRequest request)
    • config

      @GetMapping(path="/config.json", produces="application/json") @ResponseBody public AdminController.AdminConfig config(org.springframework.security.web.csrf.CsrfToken cfrsToken, @RequestParam(name="tenantId",required=false) String tenantId)
    • getAdminConfig

      @NonNull public AdminController.AdminConfig getAdminConfig(org.springframework.security.web.csrf.CsrfToken csrf, String tenantId)