Smart Configurator
Smart Configurator (SC)
The Smart Configurator (SC) generates configuration files that are essential for controlling individual smart software components and getting the system up and running. The corresponding configuration file should be placed in the same directory as the executable file. The configuration file and the executable file have the same name, except for the extension.
Note
The corresponding .settings file is first searched for in the Exe directory. If it is not found there, the .settings file is searched for under ..\Public Documents\SL4D.
In the event that the file exists in both directories, the one from the executable directory is prioritized and utilized!
The SC creates the following files
SmartLicenseManager.settings
The configuration file for the license manager
SmartDBCreator.settings
The configuration file for the SmartDBCreator (creates an empty database)
SmartServer4Manager.settings
The configuration file for the license manager server as a GUI application
SmartServer4ManagerService.settings
The configuration file for the license manager server as a Windows service
SmartServer4Client.settings
The configuration file for the "client" server (the one that receives your client's calls) as a GUI application
SmartServer4ClientService.settings
The configuration file for the "client" server (the one that receives your client's calls) as a Windows service
SmartAppClient.settings
The configuration file for a hypothetical client, so that you have practical access to all attributes. This file does not have to be used in this way. You can also populate the client data individually.
Smart Configurator - files
The configuration files directory is the location where all configuration files are saved when the "Create Config Files" button is pressed.
The "Save Configuration" button saves the current configuration settings in the Smart Configurator. This allows the user to easily load the same settings the next time they use the tool. The saved configuration data is stored in a registry entry.
Smart Config 4 Manager
Client
Window Title: Optional text for the license manager window title.
Login Password: Login password for the license manager. Granted, this isn't the most sophisticated authentication method, but it's a step in the right direction. We're not developing enterprise-level software, so this should suffice for the time being. We appreciate your understanding. If the need to change this arises, we'll certainly revisit it.
Host: Hostname of the server (service or GUI version).
Port: Port of the server (service or GUI version). If IIS (recommended) is used as an intermediary web server, then the value is 0. More information on this can be found under IIS.
Use SSL Checkbox: Use SSL for the client connection or not. This only makes sense if certificate management is managed through IIS, as Smart Licensing for Delphi does not currently support certificates directly. Otherwise, leave the checkbox unchecked.
Server
Database File: Full file name from the server's perspective.
Port: Port, more information on this can be found under IIS.
LogLevel: Currently only in debug mode.
Common
Server User: Connection user for client/server.
Server Password: Connection password for client/server.
Context/PathInfo: Very important. This is the match entry (the pattern) that IIS listens on and then forwards to the service/server. More information on this can be found under IIS.
Smart Config 4 Client
Client
Host: Hostname of the server (service or GUI version).
Port: Port of the server (service or GUI version). If IIS (recommended) is used as an intermediary web server, then the value is 0. More information on this can be found under IIS.
Use SSL Checkbox: Use SSL for the client connection or not. This only makes sense if certificate management is managed through IIS, as Smart Licensing for Delphi does not currently support certificates directly. Otherwise, leave the checkbox unchecked.
Server
Database File: Full file name from the server's perspective.
Port: Port, more information on this can be found under IIS.
LogLevel: Currently only in debug mode.
Common
Server User: Connection user for client/server.
Server Password: Connection password for client/server.
Context/PathInfo: Very important. This is the match entry (the pattern) that IIS listens on and then forwards to the service/server. More information on this can be found under IIS.
DB Creator
Database
Database File: Full file name from the DBCreator's perspective.
Please note
The newly created empty database should then be copied to the location where it can be accessed by both servers (i.e. the "Database File" field).
Please note
If you set the OnEncryption and OnDecryption events from the Delphi interface ILocalLicense and thus overwrite the original encryption algorithm from the DLL, you must also manually adjust the password in the generated settings file afterwards, since the SmartConfigurator naturally does not know your own algorithm.