Package io.dialob.boot.controller
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
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAdminController(AdminApplicationSettings settings, PageSettingsProvider pageSettingsProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetAdminConfig(org.springframework.security.web.csrf.CsrfToken csrf, String tenantId) index(org.springframework.security.web.csrf.CsrfToken cfrsToken, org.springframework.ui.Model model, String tenantId, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class io.dialob.boot.controller.BaseController
index, isValidTenantId
-
Constructor Details
-
AdminController
public AdminController(AdminApplicationSettings settings, PageSettingsProvider pageSettingsProvider)
-
-
Method Details
-
index
-
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)
-