Skip to content

licenseSpring Integration in Admin UI

Arnab Dutta edited this page Jul 6, 2022 · 13 revisions

License Types

The LicenseSpring platform can currently handle the following license models:

  • **Perpetual **: Once Activated, the license never expires
  • Time Limited: The license will expire at a predetermined time in the future after it has been activated
  • Subscription: The license validity is synchronized with a subscription-based billing cycle.
  • Consumption: Also known as pay-per-use or metered licensing, this allows the publisher to control a number of times a routine is run (cycles, opens etc.)

For Admin UI we are using Time Limited license Type.

License Authorization

In order to issue a license to an end-user, you have 2 options:

  • Key-based licensing: entitlements are associated with the license key. They are node-locked to the machine that it is activated on.
  • Email / Password: A license is first issued and then assigned to a user, through an email and password combination. This license is directly paired to the end-user's credentials, and is also node-locked.

For Admin UI we are using Key-based licensing license Type.

Steps Followed to use LicenseSpring in Admin UI

Open a LicenseSpring account

We have opened a free account in LicenseSpring which allows only 5000 monthly api requests and 3 products. This account is sufficient for development/testing.

Create Product with LicenseSpring

Once you activate your new account, log in and click Configure Products > Add new Product. We have created Gluu Admin UI product with the license-key authorization method. Reference: https://docs.licensespring.com/docs/getting-started

Create Licenses

After the product is created, we have created 2 time-limited licenses under Gluu Admin UI product. The license-key of these licenses are used in development/testing environments. We can create a license key for each customer under the same Gluu Admin UI product.

License credentials

The License credentials can be seen on the Setting --> Keys. Here API key and Shared key is displayed, and the Management key can be generated.

Admin UI

  1. On visiting Admin UI after installation it will show the below screen asking for api_key, product_code, shared_keyand management_key.

  1. User will need to enter the asked credentials and submit. On submitting the correct credentials it will ask License-Key on the next page. The user will need to enter a valid license key and submit.

  2. This is one-time activity and the application will not ask for license credentials again until their expiry.

  3. After login to Admin UI, the user will be able to see license details at the Home--> License Details menu.

Clone this wiki locally