| .. | .. |
|---|
| 58 | 58 | } |
|---|
| 59 | 59 | } |
|---|
| 60 | 60 | |
|---|
| 61 | | - public void validateHW(RequestBean reqBean, String appCode, String customerCode, String packCode) throws SeCurisException { |
|---|
| 62 | | - RequestBean currentHW = ReqGenerator.getInstance().createRequest(appCode, customerCode, packCode); |
|---|
| 61 | + public void validateHW(RequestBean reqBean, String licTypeCode, String customerCode, String packCode) throws SeCurisException { |
|---|
| 62 | + RequestBean currentHW = ReqGenerator.getInstance().createRequest(licTypeCode, customerCode, packCode); |
|---|
| 63 | 63 | if (!currentHW.match(reqBean)) { |
|---|
| 64 | 64 | throw new SeCurisException("Current System info mismatch the License System info:\n Licensed: \n" + JsonUtils.toPrettyJSON(reqBean) |
|---|
| 65 | 65 | + "\n Expected: \n" + JsonUtils.toPrettyJSON(currentHW)); |
|---|