Copyright Java example project

Comments

5 comments

  • Official comment
    Avatar
    Soraco Technologies

    You are only entitled to use this code if you are a customer and have purchased a QLM Pro license.

    Comment actions Permalink
  • Avatar
    Soraco Technologies

    One more note: if you are a customer, you should also review our EULA on restrictions related to use our code and binaries.

    0
    Comment actions Permalink
  • Avatar
    Moritz Neikes

    Okay, thank you for pointing that out. We did not intend to use the provided code in a published version of our product before purchasing a Pro license. I am currently still using my 30 days trial to evaluate whether QLM fits our needs.

    On that note: I've noticed that (again, in the Java example project) you can copy a valid, but computer-bound license from computer A to computer B (which has a different computerID) and it will still be accepted on computer B. Is this intended behaviour?

    It seems like the validity of the license's content is only checked for time-restricted licenses. It is only the signature of the license that is checked for both, permanent and time-restricted licenses. The relevant portion of the code is qmlLicenseMobile.QlmLicense.java, lines 441 through 460.

    0
    Comment actions Permalink
  • Avatar
    Soraco Technologies

    A license file that was activated for computer A should not work on Computer B. The license validation should fail.

    If you are seeing different results, please let me know and we will try to reproduce this.

    Regards
    John

    0
    Comment actions Permalink
  • Avatar
    Moritz Neikes

    Sorry for the late reply.

    1. Run the java test project on computer A. Enter a valid activation key for a permanent license and click activate.
    2. Copy the entire project folder to computer B, including the license file that was automatically generated in step 1. Make sure that computer B has a different computer ID than computer A.
    3. Run the java test project on computer B. The application will find the license file that was generated for computer A, and this file will be accepted as a valid license. The frame shows "Your license was successfully activated".

    This does not appear to be a huge issue. If you take a look at the file qmlLicenseMobile.QlmLicense.java, line 441ff, you will find that any permanent license is accepted. The function IsLicenseValid(computerID) does check whether the license contains the correct computerID, but this function is only called if the license is non-permanent (line 448). As soon as IsLicenseValid is called for all licenses, the issue should be resolved as far as I can tell.
    I hope this helps.

    Best regards,
    Moritz

    0
    Comment actions Permalink

Please sign in to leave a comment.