rsanchez
2015-08-10 775ff84a141370c01006367f5f95de285f64aa11
src/main/java/net/curisit/securis/LicenseValidator.java
....@@ -58,8 +58,8 @@
5858 }
5959 }
6060
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);
6363 if (!currentHW.match(reqBean)) {
6464 throw new SeCurisException("Current System info mismatch the License System info:\n Licensed: \n" + JsonUtils.toPrettyJSON(reqBean)
6565 + "\n Expected: \n" + JsonUtils.toPrettyJSON(currentHW));