Completed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
SE SupportSE SupportReporter
Matthew SmithMatthew SmithLabels
Branch Version/s
6.1.xBackported to Branch
CommittedLiferay Contributor's Agreement
AcceptGit Pull Request
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee
SE Support
SE SupportReporter
Matthew Smith
Matthew SmithLabels
Branch Version/s
6.1.x
Backported to Branch
Committed
Liferay Contributor's Agreement
Accept
Git Pull Request
Fix versions
Affects versions
Priority
Zendesk Support
Zendesk Support
Zendesk Support
Created May 13, 2011 at 12:32 PM
Updated June 26, 2023 at 5:53 AM
Resolved August 21, 2012 at 10:16 AM
Setting ldap.user.custom.mappings in portal-ext.properties allows additional LDAP attributes to be copied into Custom Attributes of the User (thanks, this is wonderful). However, if one of the attributes has multiple values, only one of the values will be copied. It would be better if all the values were copied over as a comma delimited list.
In LDAPUtil,java line 64:
Object obj = attribute.get();
From the Javadoc for Attribute.java:
Retrieves one of this attribute's values.
If the attribute has more than one value and is unordered, any one of
the values is returned.
If the attribute has more than one value and is ordered, the
first value is returned.
Rather, LDAPUtil could check the size() and if it is over 1, return all the values as a comma delimited list.