www.dextsolution.com
DEXTUPLOAD
JK
menu toggleProduct information > License > Combination license

Combination license

A combined license is a license that allows the simultaneous use of client and server products with one license information.

For the combined license, one authentication key is issued from the DEXTSolution sales site and applied equally to client products and server products.

Use the commercial license.

When you purchase an official license, you will be given a PID (product number) and SN (serial number). The PID varies depending on the configuration of the product being combined, and the PID of the DEXTUploadJK combined license begins with 'D?CK' (without the question mark).

First, log in to the Dext Solution site (http://www.dextsolution.com) and register the genuine product with the given PID and SN.

To receive an authentication key, go to ‘MYPAGE’ > ‘Change installation information’ page.

Find the license registered as a genuine product in the combined license item and edit the service information (domain or IP).

After registering the service information, use the 'Issue authentication key' button to issue an authentication key string, and set and use the string in the project using the product.

Understanding service information (domain or IP) information

Service information refers to the host part of the address (URL) to be uploaded or downloaded, excluding the schema (http/https) and port number.

If the address to upload is "http://host1.abc.com:8080/service/path?query=string", host1.abc.com is the service information.

(Without a designated domain, for example, "https://123.45.67.122:443/service/path?query=string") When necessary, you need to enter the IP (123.45.67.122) string rather than the host name as service information. there is.

Even though www.abc.com and abc.com are the same service, the product recognizes them as different services.

Service is available even if localhost and 127.0.0.1 are not entered.

If there is no service information to enter, you can enter 127.0.0.1.

If service information has changed, the authentication key must be reissued.

How to set authentication key string in project (source)

The method of specifying the authentication key string in the source is as follows.

Generally, in a servlet environment, uploads are processed using a FileUpload object, and authentication is attempted when this object is created. When creating a FileUpload object, an Environment object is received as a parameter.

Since the Environment object has a licenseAuthKey property that points to the path to the license file, you can set the authentication key string using the setLicenseAuthKey method.

# When creating a configuration object in the source code and applying it immediately
Environment env = new Environment(); 
...
env.setLicenseAuthKey("cfHzOu ...... rPTl1P");

In the Spring environment, upload is handled using the JKMultipartResolver object. Since the JKMultipartResolver object has an environment property, you can use this property to specify an Environment object containing license file path information.

# When setting Environment bean in Spring environment
<bean id="idName" class="dextuploadjk.support.spring.JKMultipartResolver">
  ...
  <property name="environment">
    <bean class="dextuploadjk.engine.Environment">
      <property name="licenseAuthKey" value="cfHzOu ...... rPTl1P"/>
    </bean>
  </property>
  ...
</bean>

In case of large file upload (2GB or more), the JKExtensionUploadFilter or JKSpringExtensionUploadFilter object is responsible for file upload. You can specify the authentication key string directly in the licenseAuthKey parameter of the filter.

# When passing as a parameter of a filter object in a large upload environment
<filter>
  <filter-name>extensionUploadFilter</filter-name>
  <filter-class>dextuploadjk.support.common.JKExtensionUploadFilter</filter-class>
  ...
  <init-param>
    <param-name>licenseAuthKey</param-name>
    <param-value>cfHzOu ...... rPTl1P</param-value>
  </init-param>
</filter>

You must set the same authentication key on both the client and server products to use it without authentication errors. For information on how to set up a license with the same authentication key in the client product, refer to the product's manual.

When the server is transferred or server information is changed

When DEXTUploadJK performs authentication checks, service information is the standard. Therefore, if the host (= service information) of the address where the file is uploaded does not change, there is no need to reissue the authentication key.

If the service information has changed, log in to the Dext Solution site (http://www.dextsolution.com), go to the 'MYPAGE' > 'Change Installation Information' page, edit the service information, and reissue the authentication key. Then, simply re-set the reissued authentication key to the product and restart the web application or WAS.

License Notes
  • DEXTSolution Inc. manages only customer information, PID (product number), SN (serial number), and license type at the time of license purchase.
  • The process of changing license installation information (modifying host name, IP) and reissuing authentication keys must be managed directly by the customer.