From 9bd4cb77ac03d6d58c1fe4effae0b2a562786ade Mon Sep 17 00:00:00 2001 From: Yoshani Date: Tue, 22 Oct 2024 09:54:02 +0530 Subject: [PATCH 1/3] add HandleExistingUsername property to self-reg --- .../v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json | 6 ++++++ .../v1/get-properties-without-property-name-response.json | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json index 4a4b3a2db71..e3b477df424 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json @@ -57,6 +57,12 @@ "displayName": "Enable Account Confirmation On Creation", "description": "Enable user account confirmation when the user account is not locked on creation" }, + { + "name": "SelfRegistration.ShowUsernameUnavailability", + "value": "true", + "displayName": "Show username unavailability", + "description": "Show a descriptive error message to the user if the username is already taken. However, this may lead to username enumeration" + }, { "name": "SelfRegistration.Notification.InternallyManage", "value": "true", diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-properties-without-property-name-response.json b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-properties-without-property-name-response.json index 389a1eecca7..5ea8596269e 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-properties-without-property-name-response.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-properties-without-property-name-response.json @@ -34,6 +34,10 @@ "name": "SelfRegistration.SendConfirmationOnCreation", "value": "false" }, + { + "name": "SelfRegistration.ShowUsernameUnavailability", + "value": "true" + }, { "name": "SelfRegistration.Notification.InternallyManage", "value": "true" From e501988433353a012eaf19e3a86739a78d094ff8 Mon Sep 17 00:00:00 2001 From: Yoshani Date: Tue, 22 Oct 2024 21:44:18 +0530 Subject: [PATCH 2/3] bump governance --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f0f391a42fa..a05c4b1eab2 100755 --- a/pom.xml +++ b/pom.xml @@ -2371,7 +2371,7 @@ 2.6.3 - 1.11.8 + 1.11.9 5.9.5 From db7cf278920b36f340a4c9469b7bf80e772bff44 Mon Sep 17 00:00:00 2001 From: Yoshani Date: Tue, 22 Oct 2024 21:48:13 +0530 Subject: [PATCH 3/3] bump framework --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a05c4b1eab2..54b4b510bd7 100755 --- a/pom.xml +++ b/pom.xml @@ -2360,7 +2360,7 @@ - 7.5.56 + 7.5.78 [5.14.67, 8.0.0)