diff --git a/.github/.styles/config/vocabularies/webforj/accept.txt b/.github/.styles/config/vocabularies/webforj/accept.txt index 02a1c95fb..c3a49c86a 100644 --- a/.github/.styles/config/vocabularies/webforj/accept.txt +++ b/.github/.styles/config/vocabularies/webforj/accept.txt @@ -76,3 +76,5 @@ Stylus Preact Svelte stylesheet +BLS +BASIS diff --git a/docs/docs/configuration/licensing-and-watermark.md b/docs/docs/configuration/licensing-and-watermark.md index fbb212742..5c6b52c05 100644 --- a/docs/docs/configuration/licensing-and-watermark.md +++ b/docs/docs/configuration/licensing-and-watermark.md @@ -6,8 +6,6 @@ description: Request a webforJ trial certificate and place certificate.bls in th By default, webforJ projects can be run but won't have a license certificate associated with them. When running an unlicensed project, a watermark will display on the running app's UI until a valid license has been entered. - +For individual developers, getting a trial license certificate of webforJ is simple. Visit the [webforJ pricing page](https://webforj.com/pricing/), choose the appropriate plan, and follow the prompts to request a license. -For individual developers, getting a trial license certificate of webforJ is simple, visit the license certification request form, fill out the details, and submit the form. Once submitted, a confirmation email with an attached `certificate.bls` file will be sent to the provided email. - -Place this file inside of the `resources` directory of a project, and the watermark will no longer display. +To let a webforJ app request a license from a service running on your development machine or internal network, go to [Local BLS License](./local-bls-license). \ No newline at end of file diff --git a/docs/docs/configuration/local-bls-license.md b/docs/docs/configuration/local-bls-license.md new file mode 100644 index 000000000..fb29dd82b --- /dev/null +++ b/docs/docs/configuration/local-bls-license.md @@ -0,0 +1,99 @@ +--- +title: Local BLS License +sidebar_class_name: new-content +sidebar_position: 25 +description: Configure a webforJ project to use a locally installed BLS certificate and client configuration. +--- + +A local BASIS License Service (BLS) lets a webforJ app request a license from a service running on your development machine or internal network. This setup is useful when you have a serial number and authorization number and want the project to use the generated local license files instead of the default license configuration. + +A webforJ project made with [startforJ](https://docs.webforj.com/startforj) includes two license files under `src/main/resources`: + +```text +src/main/resources/blsclient.conf +src/main/resources/certificate.bls +``` + +Here's how to replace the default license files with ones generated with a local BLS installation: + +## Prerequisites {#prerequisites} + +Before you start, make sure you have: + +- Java 21 or Java 25 available to run the BLS 26 installer. +- A serial number and authorization number. +- A webforJ project with a `src/main/resources` directory. +- Access to the machine where BLS will run. + +## 1. Download the BLS installer {#1-download-bls} + +To get the BLS installer, go to the [BASIS Product Suite Downloads](https://basis.cloud/bbj-downloads/) page. +Once you've selected a desired language for the form, go to the **Select Product** section. In the **Product** dropdown, select `BLS`, and in the **Revision** dropdown, select the latest version. The required Java versions for running the BLS are under the **Revision** dropdown. + +Then, fill in the form inside **Contact Information**, and select the checkboxes inside **Download Terms**. +Once you've filled the form, select the `Download` button to download the BLS installer JAR. + + ![Download form with BLS selected as the product](/img/configuration/local-bls-license/download-bls.png#rounded-border) + + *Download form with `BLS` selected as the product.* + +## 2. Install and Configure the BLS {#2-install-andc-onfig-bls} + +The downloaded executable JAR has the following naming convention: `BLS_