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

Domain license

DEXTUploadJK supports domain licensing.

Use the comercial license.

When you purchase an official license, you will be given a PID (product number) and SN (serial number). (The PID of the DEXTUploadJK domain license starts with 'DDJK'.)

First, log in to the DEXTSolution 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 DEXTUploadJK 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 for 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.

The Environment object has a licenseAuthKey property, and 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 the Environment object that holds the authentication key.

# 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), 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 the Extension file-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>
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 DEXTSolution 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.

Use it as a trial version.

The DEXTUploadJK domain license does not provide a separate license for developers. However, to facilitate development, a trial license that can be used for 30 days is provided.

To obtain a trial license, you must perform the following steps:

  1. Download DEXTUploadJK product for domain license from the ‘Trial Version’ page of the Dext Solution (http://www.dextsolution.com) site.
  2. Set up the product using the authentication key sent by e-mail when downloading the file.
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.