From 4cf47a931bd65241a94a9a180a71d95b5ea503ac Mon Sep 17 00:00:00 2001 From: Jacopo Cappellato Date: Sun, 5 Apr 2026 07:40:58 +0200 Subject: [PATCH] Improved: Add comments to clarify purpose of test security.properties override MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks: Gašper Kojek for the initial version of the comment message. --- .../security/src/test/resources/security.properties | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/framework/security/src/test/resources/security.properties b/framework/security/src/test/resources/security.properties index b1f3e5d0f09..90a58c1fde5 100644 --- a/framework/security/src/test/resources/security.properties +++ b/framework/security/src/test/resources/security.properties @@ -16,9 +16,14 @@ # specific language governing permissions and limitations # under the License. ############################################################################### -#### -# OFBiz Security Settings -#### + +############################################################################## +# Test override of security.properties with non production values. +# This file shadows framework/security/config/security.properties on the +# test classpath so that unit tests requiring security settings such as +# JWT keys can run without the need to generate keys or modify the main +# security.properties file. +############################################################################## # -- Security key used to encrypt and decrypt the autogenerated password in forgot password functionality. # Read Passwords and JWT (JSON Web Tokens) usage documentation to choose the way you want to store this key