Class SuperAdminController
java.lang.Object
org.diabetestechnology.drh.service.http.pg.ux.SuperAdminController
-
Constructor Summary
ConstructorsConstructorDescriptionSuperAdminController
(SuperAdminService superAdminService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, PractitionerService practitionerService, UserNameService userNameService) -
Method Summary
Modifier and TypeMethodDescriptionaddSuperAdmin
(String fullName, String email) void
forwardToTogglz
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) hashPassword
(String password)
-
Constructor Details
-
SuperAdminController
public SuperAdminController(SuperAdminService superAdminService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, PractitionerService practitionerService, UserNameService userNameService)
-
-
Method Details
-
addSuperAdmin
-
hashPassword
-
forwardToTogglz
@GetMapping("/admin/feature-toggles") public void forwardToTogglz(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException - Throws:
IOException
jakarta.servlet.ServletException
-