From d9c5a4f748f1f5e3a97b6467518b21684bd0abca Mon Sep 17 00:00:00 2001 From: shekhar16 Date: Mon, 14 Oct 2024 22:30:22 +0530 Subject: [PATCH] fix(oxtrust-server): failed to remove memberof from user with PostgreSQL Signed-off-by: shekhar16 --- .../java/org/gluu/oxtrust/action/CustomAttributeAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/gluu/oxtrust/action/CustomAttributeAction.java b/server/src/main/java/org/gluu/oxtrust/action/CustomAttributeAction.java index f9e0305d7..9de09dc92 100644 --- a/server/src/main/java/org/gluu/oxtrust/action/CustomAttributeAction.java +++ b/server/src/main/java/org/gluu/oxtrust/action/CustomAttributeAction.java @@ -355,12 +355,12 @@ public List detectRemovedAttributes() { Set origCustomAttributesSet = new HashSet(); for (GluuCustomAttribute origCustomAttribute : origCustomAttributes) { - String attributeName = StringHelper.toLowerCase(origCustomAttribute.getName()); + String attributeName = origCustomAttribute.getName(); origCustomAttributesSet.add(attributeName); } for (GluuCustomAttribute currentCustomAttribute : customAttributes) { - String attributeName = StringHelper.toLowerCase(currentCustomAttribute.getName()); + String attributeName = currentCustomAttribute.getName(); origCustomAttributesSet.remove(attributeName); }