License File Structure

From Agility
Jump to: navigation, search


License File Structure

Sample license source file.



"<?xml version="1.0" encoding="utf-8" ?>
<license>
	<details
		MaxClients="10"
		NamedClients="0"
		CheckIntervalSeconds="10"
		SerialNumber="1234-1234-1234-1234-1234"
		VersionName="FastNET.2.7"
                SpecialMessage= "*** PERMITED FOR DEMO AND TRAINING ONLY.***"
		LicenseDescription="Demo Version only for internal use"
		LicenseType="Full"
		LicensedUrls="http://localhost/sxp01"
		ExpiryDate="1/1/2010"
                ExpiryDays=”30”
		SystemDesignMode="__allowall__, __allowall__, __allowall__"
		/>
		
	<site 
		SiteCode="SoftSols"
		SiteName="Soft Solutions Ltd."
		SiteAddress="UK"
		SitePhone="0048 75 6466033"
		/>
	<dealer 
		DealerCode="SoftSolsPoland"
		DealerName="SoftSolution Oddział w Polsce"
		DealerAddress="58-500 Jelenia Góra, 1-go Maja 80"
		DealerPhone="0048 75 6466033"
		DealerFax="0048 75 6466033"
		DealerUrl="http://www.softsolsgroup.com"
		/>
	<FormsAccessRules>
    		<Form 
                      Disabled="false" 
                      Type="FilterExpression" 
                      WithChilds="false">
                         uiFormDef.TableName like "cr%" MAXRESULTS -1
                </Form>
        </FormsAccessRules>
</license>"

MaxClients - Maximum Number of concurrent connections to system checked in CheckIntervalSeconds.

CheckIntervalSeconds - period of time in seconds when the number of clients can not exceeds MaxClients value.

NamedClientsnumber of Named Clients licenses.

SerialNumber – not used only for information

VersionName - application version name must be the same as application internal code name.

SpecialMessageinformational only – to display message if even type of license is FULL but it is not for commercial use.

LicenseDescriptioninformational only

LicenseTypepossible values: DEMO, LIMITED, FULL.

  In case of LIMITED the LicensedUrls are checked.  FULL License type allows installation in any URL. 
  If DEMO License type used, the license will be valid for the number of days specified in the “ExpiryDays” parameter. Days count starts from the first usage of the system.

LicensedUrlscomma separated list of application urls through it can be accessed by the clients. Checked only if LicenseType = LIMITED

ExpiryDatedate when application will be expired

ExpiryDays - number of days after which DEMO license will expire SystemDesignModethere is list of form Owner,Application,Module .

   Each field is regular expression and all forms which meets that are not allowed to change. The value “__allowall__” could be used to allow desing of all forms.

The FormsAccessRules section may contains security rules for custom defined modules of Agility system. It allows switch on/off particular parts of system.

The Form node can contain following attributes:

        Type - When value of this attribute is not specified the system takes node value and trying to spit them to list of names forms. Other words it means that in this case node value keeps list of
               comma separated unrestricted user forms. The value this attribute can be defined as FilterExpression. It allows defining criteria taken into account during creating 
               restricted/unrestricted access to the particular system modules.
        WithChilds - It is not used.
        Disable – Switch on/off forms defined as value of Form node. Default this option is sets on False. If value is sets on True the system not allows to use specified modules by FilterExpression
                  or comma separated list of forms names.

Rest of the License fields are only informational.