License file with multiple entries for a component

User 2bee1ec15d

08-05-2013 11:16:40

Hi,


We have implemented a software, where user can upload their Chemaxon license file (license.cxl) and our software will validate the license file. We had got into an issue when the license file contains more than one entry for a component or software. Please find the example of such license entries below.


 


<ChemAxon>


<License>


<Field Name="Software" Value="Marvin Applets"/>


<Field Name="License Term" Value="Perpetual"/>


<Field Name="Licensee" Value="XXX"/>


<Field Name="Number of Users" Value="500"/>


<Field Name="Expiration Date" Value="Never"/>


<Field Name="Support Expiration Date" Value="2010-05-25"/>


<Field Name="Comment" Value="XXXXX"/>


<Restriction Name="Server Use" Value="Allowed"/>


<Signature Value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=="/>


</License>


 


<License>


<Field Name="Software" Value="Marvin Applets"/>


<Field Name="License Term" Value="Evaluation"/>


<Field Name="Licensee" Value="XXXX"/>


<Field Name="Number of Users" Value="5"/>


<Field Name="Expiration Date" Value="2012-12-31"/>


<Field Name="Support Expiration Date" Value="2012-12-31"/>


<Field Name="Comment" Value="Markush"/>


<Restriction Name="Server Use" Value="Allowed"/>


<Signature Value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=="/>


</License>


</ChemAxon>


For security reasons I have masked the value of few fields. In the above case we have two entries for single component/software "Marvin Applets" with different expiration date.


In this scenario which entry should we need to consider ?


Thanks,


Senthil

ChemAxon e274e1bada

12-05-2013 21:15:48

Hi,


ChemAxon license checker calculates the "strongest" license
combination from the reachable license file set during the license
check process. It means, if you have two licenses for the same
product, the license is used which expires later.


Best Regards,


Edvard