#2021 fix - Changed default license duration
| .. | .. |
|---|
| 233 | 233 | private License getLicenseData(RequestBean req) throws SeCurisException { |
|---|
| 234 | 234 | // TODO: The dummy expiration date is temporal, this info should be read from DB |
|---|
| 235 | 235 | License lic = new License(); |
|---|
| 236 | | - lic.setExpirationDate(new Date(new Date().getTime() + (1000L * 3600 * 24 * 365 * 10))); |
|---|
| 236 | + lic.setExpirationDate(new Date(new Date().getTime() + (1000L * 3600 * 24 * 30 ))); |
|---|
| 237 | 237 | lic.setCode(req.getAppCode() + "-LIC-INTERNAL"); |
|---|
| 238 | 238 | LicenseType lt = new LicenseType(); |
|---|
| 239 | 239 | lt.setCode("TYPE-" + req.getAppCode()); |
|---|