Applying Authorization Codes
Â
Upon finalizing a floating license purchase, your salesperson will provide you with a floating license authorization code. Authorization codes look like this:
plls_api_1xAeI16MEv7FOZZCqdsmaVsIxsouUWzFchPR8Y4AhqoSLhRZBGuSGFAji7VpDL20wZHYAgxmzQfrJDqlILVRcrQsIIavhQaeFHqg4pUq1hdpnHN6uwKQtZ4
Â
Anyone in possession of your floating license authorization code can activate and deactivate seats for your license. Make sure to protect the authorization code and share only with those who need to use it. Profound Logic can deactivate authorization codes on request.
There are two ways to apply the floating license code to your product instance:
Setting an environment variable named PJS_FLOATING_AUTHORIZATION with value set to the authorization code. The environment variable must be set at instance start up time. This is the preferred method and will override an authorization code on the file system.
The code can also be placed into a text file named ‘floating-auth-code’ (no extension) on the file system, at a platform-specific location:
Linux: $HOME/.profoundjs/floating-auth-code
Where $HOME is the home directory of the user the server process runs as.IBM i: /profoundjs-base/floating-auth-code
Windows: %ALLUSERSPROFILE%\profoundjs\floating-auth-code
%ALLUSERSPROFILE% is a Windows environment variable. The location can vary based on Windows configuration but is typically set to C:\ProgramData.
Â
The License Key Management page at http://server:port/key can be used to write the authorization code file to the appropriate location:
The instance must be restarted after applying an authorization code with the License Key Management page.