| .. | .. |
|---|
| 88 | 88 | */ |
|---|
| 89 | 89 | public LicenseBean requestLicense() throws SeCurisException { |
|---|
| 90 | 90 | RequestBean req = ReqGenerator.getInstance().createRequest(Params.get(Params.KEYS.APPLICATION_CODE), Params.get(Params.KEYS.CUSTOMER_CODE)); |
|---|
| 91 | | - if (true) |
|---|
| 91 | + if (true) { |
|---|
| 92 | 92 | throw new SeCurisException("Action not implemented yet"); |
|---|
| 93 | + } |
|---|
| 93 | 94 | LicenseBean lic = requestLicenseToServer(req); |
|---|
| 94 | 95 | return lic; |
|---|
| 95 | 96 | } |
|---|
| .. | .. |
|---|
| 150 | 151 | */ |
|---|
| 151 | 152 | public LicenseBean renew(File licenseFile) throws SeCurisException { |
|---|
| 152 | 153 | LicenseBean lic = validateLicense(licenseFile); |
|---|
| 153 | | - if (true) |
|---|
| 154 | + if (true) { |
|---|
| 154 | 155 | throw new SeCurisException("Action not implemented yet"); |
|---|
| 156 | + } |
|---|
| 155 | 157 | // TODO: Send the current LicenseBean to server to check if a new one is prepared. |
|---|
| 156 | 158 | return lic; |
|---|
| 157 | 159 | } |
|---|