From d1c0af83494b8bfeb035de616e00d53fe5f7b94e Mon Sep 17 00:00:00 2001 From: TomFitzpatrick Date: Wed, 6 Dec 2023 17:38:33 +0000 Subject: [PATCH] fix properties section so values are created correctly Signed-off-by: TomFitzpatrick --- .../configuration/rbac/1.0/corda.rbac.json | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/data/config-schema/src/main/resources/net/corda/schema/configuration/rbac/1.0/corda.rbac.json b/data/config-schema/src/main/resources/net/corda/schema/configuration/rbac/1.0/corda.rbac.json index 81e471b7c6..8bc4eb349b 100644 --- a/data/config-schema/src/main/resources/net/corda/schema/configuration/rbac/1.0/corda.rbac.json +++ b/data/config-schema/src/main/resources/net/corda/schema/configuration/rbac/1.0/corda.rbac.json @@ -10,22 +10,24 @@ "description": "Settings for passwords.", "type": "object", "default": {}, - "userPasswordChangeExpiry": { - "description": "The amount of time (days) before the password must be updated again after user password change.", - "type": "integer", - "minimum": 30, - "default": 90 - }, - "adminPasswordChangeExpiry": { - "description": "The amount of time (days) before the password must be updated again after admin password change", - "type": "integer", - "minimum": 1, - "default": 7 - }, - "passwordExpiryWarningWindow": { - "description": "The time (days) before a password expires in which we begin to offer warnings about upcoming expiry.", - "type": "integer", - "default": 30 + "properties": { + "userPasswordChangeExpiry": { + "description": "The amount of time (days) before the password must be updated again after user password change.", + "type": "integer", + "minimum": 30, + "default": 90 + }, + "adminPasswordChangeExpiry": { + "description": "The amount of time (days) before the password must be updated again after admin password change", + "type": "integer", + "minimum": 1, + "default": 7 + }, + "passwordExpiryWarningWindow": { + "description": "The time (days) before a password expires in which we begin to offer warnings about upcoming expiry.", + "type": "integer", + "default": 30 + } } } }