Skip to content

Conversation

@skoranda
Copy link
Contributor

@skoranda skoranda commented Jun 4, 2017

Add functionality to specify that attributes returned from
the LDAP directory server used with the LDAP attribute store
should be used as input to be hashed for the NameID for a
persistent name identifier sent to a SP.

Add functionality to specify that attributes returned from
the LDAP directory server used with the LDAP attribute store
should be used as input to be hashed for the NameID for a
persistent name identifier sent to a SP.
# LDAP directory server may return multi-valued attributes
# in any order.
value.sort()
for v in value:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably nitpicking :) but userId = "".join(value) should be more efficient than the for loop + string concat and still be readable

@johanlundberg johanlundberg merged commit 86c5eae into IdentityPython:master Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants