Combination license
Combiation license is a license provided to allow simultaneous use of client and server products that have information of a single license.
Combiation license receives the issuance of one authentication key of DEXTSolution selling site and applies it similarly to client products and server products.
DEXTUploadNJ supports the Combiation license from 2.1.0 version.
- Use formal License.
-
When purchasing an official License, PID (product number) and SN (serial number) are given. PID varies depending on the composition of the product being combined DEXTUploadNJ. The PID of the Combination license starts with "D?CJ".
First, after logging in to the DEXTSolution site, register the PID and SN.
Go to "MYPAGE" > "Change Installation Information" page to receive an authentication key.
Find the registered license in the DEXTUploadNJ.
After registering the service information(domain or IP), a string of the authentication key is issued using the "issue authentication key" button, and the string is set to the project.
- Understanding service information (domain or IP)
-
The service information means the host part of the address (URL) to be uploaded or downloaded, excluding the schema (http/https) and the port number.
If the upload address is "http://host1.abc.com:8080/service/path?query=string", the host1.abc.com is the service information.
(For example, "https://123.45.67.122:443/service/path?query=string" has no domain name) If necessary, add IP (123.45.67.122) string instead of domain name to service information.
Even though www.abc.com and abc.com are the same service, in the product, they are recognized as other service names.
Localhost, 127.0.0.1 can be serviced without entering it.
If there is no service information to enter, 127.0.0.1 may be entered.
When the service information is changed, the authentication key must be reissued.
- How to set an authentication key to project
-
The method of specifying the authentication key on the source is as follows.
Generally, in a servlet environment, when the FileUpload object is created, authentication is attempted with an Environment object as a parameters.
Since the Environment object has a licenseAuthKey property, you can use the setLicenseAuthKey method to set the authentication key.
Environment env = new Environment(); ... env.setLicenseAuthKey("cfHzOu ... authentication keyh string ... rPTl1P");In the Spring environment, use the DEXTUploadNJMultipartResolver object to handle the upload. Because the DEXTUploadNJMultipartResolver has an environment property, you can use this to specify the Environment object that has an authentication key.
<bean id="idName" class="devpia.dextuploadnj.support.spring.DEXTUploadNJMultipartResolver"> ... <property name="environment"> <bean class="devpia.dextuploadnj.Environment"> <property name="licenseAuthKey" value="cfHzOu ... authentication keyh string ... rPTl1P"/> </bean> </property> ... </bean>In the case of large file upload (2 GB above), the ExtensionFileUploadFilter object is responsible for uploading the file. The ExtensionFileUploadFilter object can specify the authentication key directly to the licenseAuthKey parameter without using the Environment object.
<filter> <filter-name>extensionUploadFilter</filter-name> <filter-class>devpia.dextuploadnj.support.common.ExtensionFileUploadFilter</filter-class> ... <init-param> <param-name>licenseAuthKey</param-name> <param-value>cfHzOu ... authentication key string ... rPTl1P</param-value> </init-param> </filter>Client and server products can be used without authentication error, where the same authentication key must be set two places. The method of setting the license with the same authentication key in the client product refers to the product manual.
- If you change the server or modifiy the information on the server
-
DEXTUploadNJ uses service information as a reference when performing authentication. Therefore, if the domain (= service information) of the address to upload files is not changed, the authentication key need not be reissued.
If the service information changes, after login to the DEXTSolution site, change "service information" on the "MYPAGE" > "Change installation information" page and re-issue the authentication key. Then re-set the re-issued authentication key to the product, restart the Web application or WAS.
- Notes of license
-
DEXTSolution Inc., manages only customer information like the PID(product number), SN(serial number) and license type identified at the purchasing
Changing the installation information(host name, IP), re-issuing new authentication key, is a matter that the customer must manage directly.