Skip to content

Licensing#

Licensing settings#

Licensing configuration options are specified via license.conf file which is basically an XML document with special tag formatting. This file is mandatory for license activation. Please, fill it with correct values before FaceEngine usage.

NOTE! Always remember that incorrect config may huck the things up very badly. Pay attention to what you configure and how. Always double-check what you deploy.

The location where the license config file is found is similar with faceengine.conf location.

License activation and next processing requires parameters listed below.

Parameter Description Type Default value
Server Activation server URL "Value::String" (empty)
EID Entitlement ID "Value::String" (empty)
ProductID Product ID "Value::String" (empty)
Filename Default license filename "Value::String" (empty)
ContainerMode activate license in containers "Value::Int1" 0
ConnectionTimeout Request timeout (in seconds) "Value::Int1" 15

A little bit more description: Server, EID and ProductID - please, request this information and write it in the config. It is mandatory for activation procedure.

Filename - name of the file to save license after activation. At the next activations on the same device license will be read from this file.

ContainerMode - flag that allows using licensed Luna SDK in docker containers.

ConnectionTimeout - set the maximum time in seconds that you allow to transfer operation to take. Normally, name lookups can take a considerable time and limiting operations risk aborting perfectly normal operations. Timeout 0 (zero) means it never times out during transfer. The ConnectionTimeout can't be set to a negative value, or a value that is large than maximal, which is 300 seconds.

<section name="Licensing::Settings">
    <param name="Server" type="Value::String" text=""/>
    <param name="EID" type="Value::String" text=""/>
    <param name="ProductID" type="Value::String" text=""/>
    <param name="Filename" type="Value::String" text=""/>
    <param name="ContainerMode" type="Value::Int1" x="0"/>
    <param name="ConnectionTimeout" type="Value::Int1" x="15"/>
</section>