web-app-xwiki: add SuperAdmin bootstrap support

- Added schema entry for superadminpassword
- Added vars for XWIKI_SUPERADMIN_USERNAME/PASSWORD
- Extended xwiki.properties.j2 to configure superadminpassword
- Added 02_bootstrap_admin.yml to create XWiki admin via REST using SuperAdmin
- Updated REST URLs to use XWIKI_REST_GENERAL
- Enabled CSP flag unsafe-inline

Conversation: https://chatgpt.com/share/68c39ddb-e9cc-800f-b32f-9d4c1e09e43e
This commit is contained in:
2025-09-12 06:13:34 +02:00
parent 07b7c6484f
commit 2d71c461de
6 changed files with 61 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
credentials:
superadminpassword:
description: "Password for the xwiki superadmin"
algorithm: "alphanumeric"
validation:
min_length: 50