-
Notifications
You must be signed in to change notification settings - Fork 267
Closed
Description
I'm not sure if it's the new net-ldap introducing this issue, but extra_attributes with array values are not being returned correctly...
<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas">
<cas:authenticationSuccess>
<cas:user>brent.faulkner</cas:user>
<cn>
<![CDATA[---
- !str:Net::BER::BerIdentifiedString
str: Faulkner, Brent
"@ber_identifier": 4
]]>
</cn>
<mail>
<![CDATA[---
- !str:Net::BER::BerIdentifiedString
str: [email protected]
"@ber_identifier": 4
]]>
</mail>
<memberof>
<![CDATA[---
- !str:Net::BER::BerIdentifiedString
str: CN=First Group,OU=Global Groups,DC=example,DC=com
"@ber_identifier": 4
- !str:Net::BER::BerIdentifiedString
str: CN=Next Group,OU=Global Groups,DC=example,DC=com
"@ber_identifier": 4
- !str:Net::BER::BerIdentifiedString
str: CN=Another Group,OU=Global Groups,DC=example,DC=com
"@ber_identifier": 4
]]>
</memberof>
</cas:authenticationSuccess>
</cas:serviceResponse>
It looks like to_s is being used on non-array attributes, but not on array values...
Metadata
Metadata
Assignees
Labels
No labels