mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
update for customer name
This commit is contained in:
parent
d1ad7e06e0
commit
154a5ea406
@ -41,6 +41,7 @@ public class DecryptedLicenseResponse {
|
||||
private final String limitType;
|
||||
private final String timezone;
|
||||
private final String customerEmail;
|
||||
private final String customerName;
|
||||
|
||||
@JsonCreator
|
||||
public DecryptedLicenseResponse(
|
||||
@ -55,7 +56,8 @@ public class DecryptedLicenseResponse {
|
||||
@JsonProperty("product") String product,
|
||||
@JsonProperty("limitType") String limitType,
|
||||
@JsonProperty("timezone") String timezone,
|
||||
@JsonProperty("customerEmail") String customerEmail
|
||||
@JsonProperty("customerEmail") String customerEmail,
|
||||
@JsonProperty("customerName") String customerName
|
||||
) {
|
||||
this.boostLicenseId = boostLicenseId;
|
||||
this.licenseHostId = licenseHostId;
|
||||
@ -67,6 +69,7 @@ public class DecryptedLicenseResponse {
|
||||
this.limitType = limitType;
|
||||
this.timezone = timezone;
|
||||
this.customerEmail = customerEmail;
|
||||
this.customerName = customerName;
|
||||
}
|
||||
|
||||
public String getBoostLicenseId() {
|
||||
@ -108,4 +111,8 @@ public class DecryptedLicenseResponse {
|
||||
public String getCustomerEmail() {
|
||||
return customerEmail;
|
||||
}
|
||||
|
||||
public String getCustomerName() {
|
||||
return customerName;
|
||||
}
|
||||
}
|
||||
|
@ -412,11 +412,11 @@ public class CTMalwareScannerOptionsPanel extends CTOptionsSubPanel {
|
||||
? ""
|
||||
: LICENSE_EXPIRES_FORMAT.format(this.licenseInfo.getDecryptedLicense().getExpirationDate())));
|
||||
this.licenseInfoIdLabel.setVisible(true);
|
||||
this.licenseInfoIdLabel.setText(Bundle.CTMalwareScannerOptionsPanel_licenseInfo_id(this.licenseInfo.getDecryptedLicense().getBoostLicenseId()));
|
||||
this.licenseInfoIdLabel.setText(Bundle.CTMalwareScannerOptionsPanel_licenseInfo_id(StringUtils.defaultString(this.licenseInfo.getDecryptedLicense().getBoostLicenseId())));
|
||||
this.licenseInfoUserLabel.setVisible(true);
|
||||
this.licenseInfoUserLabel.setText(Bundle.CTMalwareScannerOptionsPanel_licenseInfo_userInfo(
|
||||
"TBD",
|
||||
this.licenseInfo.getDecryptedLicense().getCustomerEmail()));
|
||||
StringUtils.defaultString(this.licenseInfo.getDecryptedLicense().getCustomerName()),
|
||||
StringUtils.defaultString(this.licenseInfo.getDecryptedLicense().getCustomerEmail())));
|
||||
}
|
||||
|
||||
this.malwareScansPanel.setVisible(StringUtils.isNotBlank(this.authTokenMessage) || authTokenResponse != null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user