From 22468958b6d69d35f5057ce5303d5f8ecac2c016 Mon Sep 17 00:00:00 2001 From: tamasmak Date: Mon, 6 Oct 2025 11:10:35 +0200 Subject: [PATCH 1/2] Update AppSec Kit configuration docs --- articles/tools/appsec/advanced-topics.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/articles/tools/appsec/advanced-topics.adoc b/articles/tools/appsec/advanced-topics.adoc index 14745a5a57..9b391163e7 100644 --- a/articles/tools/appsec/advanced-topics.adoc +++ b/articles/tools/appsec/advanced-topics.adoc @@ -27,6 +27,8 @@ AppSecService.getInstance().setConfiguration(appSecConfiguration); You can set or override the following configuration values in the `AppSecConfiguration`: +`vaadinPlatformVersion`:: +The Vaadin platform version that the application is using. `appSecRoute`:: The route of the AppSec Kit user interface. `dataFilePath`:: @@ -47,6 +49,10 @@ The boolean value to decide if the npm development dependencies should be includ The boolean value to decide if the server push should be automatically activated in the application. +=== Vaadin Platform Version + +The AppSec Kit requires the Vaadin platform version that is used in the application when getting the Vaadin platform BOM. First, it checks if the `vaadin-core` dependency is present in the application and uses the version of that dependency as the Vaadin platform version. If the `vaadin-core` dependency is not present then it gets the version defined in the AppSec Kit configuration through this configuration option. If this configuration option is not defined then an `AppSecException` is thrown. The version should be defined as a `String`. The default value is `null`. + === AppSec Kit Route You can configure the route of the AppSec Kit user interface. The default value is `vaadin-appsec-kit`. From 96b47bcf168389c44c2afe0056f8a86faa2a07f4 Mon Sep 17 00:00:00 2001 From: Giovanni Lovato Date: Mon, 3 Nov 2025 16:18:55 +0100 Subject: [PATCH 2/2] Update articles/tools/appsec/advanced-topics.adoc --- articles/tools/appsec/advanced-topics.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/tools/appsec/advanced-topics.adoc b/articles/tools/appsec/advanced-topics.adoc index 9b391163e7..0f8672b63e 100644 --- a/articles/tools/appsec/advanced-topics.adoc +++ b/articles/tools/appsec/advanced-topics.adoc @@ -49,7 +49,7 @@ The boolean value to decide if the npm development dependencies should be includ The boolean value to decide if the server push should be automatically activated in the application. -=== Vaadin Platform Version +=== Vaadin Version The AppSec Kit requires the Vaadin platform version that is used in the application when getting the Vaadin platform BOM. First, it checks if the `vaadin-core` dependency is present in the application and uses the version of that dependency as the Vaadin platform version. If the `vaadin-core` dependency is not present then it gets the version defined in the AppSec Kit configuration through this configuration option. If this configuration option is not defined then an `AppSecException` is thrown. The version should be defined as a `String`. The default value is `null`.