Class ProfileSelectionController

java.lang.Object
swiss.trustbroker.profileselection.controller.ProfileSelectionController

@Controller @ConditionalOnBooleanProperty("trustbroker.config.profileselection.enabled") public class ProfileSelectionController extends Object
Controller for profile selection services.
  • Constructor Details

  • Method Details

    • getUserProfiles

      @GetMapping(path="/api/v1/hrd/profiles") @ResponseBody public swiss.trustbroker.api.profileselection.dto.ProfileResponse getUserProfiles(@RequestHeader("XTB-ProfileId") String id)
    • selectProfile

      @PostMapping(path="/api/v1/hrd/profile") public String selectProfile(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @RequestBody ProfileRequest profileRequest)