The OSGi Configurations Manager is a Jahia module that allows administrators to manage OSGi configuration files (.cfg, .yml) directly from the Jahia Administration interface.
.disabled) configurations..cfg files with drag-and-drop reordering.CryptoEngine supports ENC(...) values. Encryption can be toggled per property.org.jahia.modules.osgiconfigmanager.cfg using the filteredFiles property.To use encrypted properties in your Java services, use the CryptoEngine:
import org.jahia.modules.osgiconfigmanager.admin.CryptoEngine;
public void update(Map<String, Object> properties) {
String value = (String) properties.get("mySecret");
if (value != null && value.startsWith("ENC(") && value.endsWith(")")) {
String cipherText = value.substring(4, value.length() - 1);
this.secret = CryptoEngine.decryptString(cipherText);
}
}
⚠️ Prerequisite: This module requires JContent version 3.5.0 or higher.
Deploy the module to your Jahia instance:
osgi-configurations-manager-1.0.0.jar.To grant access to non-root users:
server-admin).canManageOsgiConfigurations.The system root user bypasses all permission checks and has full access to the module immediately after installation.
MIT License Copyright (c) 2026 Dominique Gigon Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.