Integrating License4J License Generator

Overview

License4J provides solutions for Java software product licensing. The generator supports automatic license generation, activation, deactivation, and a black-list check. It is an option for both startup and small companies as well as companies wishing to host their own license server, where all license generation requests go to their own server. Refunds and order cancellations will not automatically be triggered with License4J and require manual deletion of generated licenses.

License4J Setup

Once you have downloaded and installed License4J License Manager, you should have received an email with a username and password. Under Tools, click Online.License4J and then select Work Online. Enter in the username and password you received in your email from License4J, and click Login.

With Online Storage highlighted, click Product and then select Create New Product. Fill in the information about your product and click Save.

At the bottom of the screen next to Predefined, select FastSpring and click Load. Enter in a Descriptive Name. Enter in a Security Code or click the Generate button to create a random security code. Click Save.

Make sure your License Generation Setting is highlighted in blue. Click Actions and select Display License Generation URL. Select the License Template you previously created, and click OK. Copy this License Generation URL as you will need it as part of the FastSpring setup.

FastSpring Setup

SpringBoard's Store Home » Products and Pages. Select the product to which you want to add the License4J License Generator. Click to Add a Fulfillment Action. Select Generate a License and then choose Remote Server Request from the drop-down menu. Click Next.

Paste in the License Generation URL from License4J. Select Single License Only as the Output Format, and click Create.