Class LicenseResource

java.lang.Object
com.flowable.platform.rest.service.api.BasePlatformResource
com.flowable.platform.rest.service.api.license.LicenseResource

@RestController
public class LicenseResource
extends BasePlatformResource
  • Field Details

    • licenseCheckService

      protected final com.flowable.license.LicenseCheckService licenseCheckService
    • licenseLoginService

      protected final com.flowable.license.LicenseLoginService licenseLoginService
  • Constructor Details

    • LicenseResource

      public LicenseResource​(com.flowable.license.LicenseCheckService licenseCheckService, com.flowable.license.LicenseLoginService licenseLoginService)
  • Method Details

    • handleLicenseUpload

      @PostMapping("/license") public org.springframework.http.ResponseEntity<com.flowable.license.LicenseResponse> handleLicenseUpload​(@RequestParam("fileContent") org.springframework.web.multipart.MultipartFile file, java.security.Principal principal)
    • getLicenseInfo

      @GetMapping("/license") public org.springframework.http.ResponseEntity<com.flowable.license.LicenseResponse> getLicenseInfo​(java.security.Principal principal)
    • getUserLoginInfo

      @GetMapping("/license/user-logins") public org.springframework.http.ResponseEntity<UserLoginInfoResponse> getUserLoginInfo​(@ModelAttribute UserLoginInfoRequest request)