By: Brooke Padilla user 10 May 2017 at 2:24 p.m. CDT

6 Responses
Brooke Padilla gravatar
Scim Adapter: 2.4.4.scim_utf8_mt Using GluuPersonScim2.java When updating ScimPerson whose initial middleName attribute is a non-empty string with middleName = "" or null the resulting name in the gluu LDAP is the initial value of non-empty string. Expected behavior would be for the middleName attribute no longer to show up in gluu LDAP in a consistent manner of having created person using middleName="" or middleName=null. method call to update person information: Scim2Client : updateUser(person, person.getId(), new String[]{}) Additionally this is not the case vice versa. When initial value of middleName attribute is empty or null there will be no attribute that shows in the LDAP. When updated with non-empty string value, the new value will appear within the gluu LDAP.

By Michael Schwartz Account Admin 10 May 2017 at 7:32 p.m. CDT

Michael Schwartz gravatar
Shekhar, Can you confirm this issue and 1. Raise a github issue if necessary 2. Suggest a workaround

By Shekhar L. staff 21 May 2017 at 10:52 p.m. CDT

Shekhar L. gravatar
HI Brooke, We are not setting empty string i.e. "" or null value in LDAP. Middle name is optional field thats why it will only display in ldap if its value will be non-empty and not null. Thanks , Shekhar L.

By Brooke Padilla user 22 May 2017 at 9:41 a.m. CDT

Brooke Padilla gravatar
Hi Shekhar L., If that is the case, how do we go about removing an existing middle name attribute in LDAP? Thanks, Brooke P.

By Shekhar L. staff 26 May 2017 at 1:21 p.m. CDT

Shekhar L. gravatar
Hi Brooke Yeah u r right.We will fix to allow to set these values to empty.Thanks for raising the issue. Thanks & Regards, Shekhar L.

By Mohib Zico Account Admin 08 Jun 2017 at 1:14 p.m. CDT

Mohib Zico gravatar
Hello everyone, [Here](https://github.com/GluuFederation/SCIM-Client/issues/21) is the github issue for enhancement.

By Mohib Zico Account Admin 14 Aug 2017 at 12:38 a.m. CDT

Mohib Zico gravatar
**Status** [Feature](https://github.com/GluuFederation/SCIM-Client/issues/21) added in 3.1.0.