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 Summary
Fields Modifier and Type Field Description protected com.flowable.license.LicenseCheckService
licenseCheckService
protected com.flowable.license.LicenseLoginService
licenseLoginService
Fields inherited from class com.flowable.platform.rest.service.api.BasePlatformResource
additionalAdminUsers, platformSecurityInterceptor
-
Constructor Summary
Constructors Constructor Description LicenseResource(com.flowable.license.LicenseCheckService licenseCheckService, com.flowable.license.LicenseLoginService licenseLoginService)
-
Method Summary
Modifier and Type Method Description org.springframework.http.ResponseEntity<com.flowable.license.LicenseResponse>
getLicenseInfo(java.security.Principal principal)
org.springframework.http.ResponseEntity<UserLoginInfoResponse>
getUserLoginInfo(UserLoginInfoRequest request)
org.springframework.http.ResponseEntity<com.flowable.license.LicenseResponse>
handleLicenseUpload(org.springframework.web.multipart.MultipartFile file, java.security.Principal principal)
Methods inherited from class com.flowable.platform.rest.service.api.BasePlatformResource
currentUserHasAdminRights, currentUserHasAuthority, currentUserIsSuperAdmin
-
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)
-