See https://github.com/Jasig/cas/issues/1674

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Juan
> Carlos Giménez Moncada
> Sent: Tuesday, April 5, 2016 1:43 AM
> To: [email protected]
> Subject: [cas-user] Losing Attributes CAS 4.1.6
>
> Hi,
>
> My attributeRepository uses the class
> org.jasig.services.persondir.support.MergingPersonAttributeDaoImpl
>
> My first Dao uses the class
> org.jasig.services.persondir.support.ldap.LdaptivePersonAttributeDao,
> and LDAP searches five attributtes (cn, uid, gidNumber, homeDirectory,
> sambaSID).
>
> The class below makes the search properly ...
>
> DEBUG
> [org.jasig.services.persondir.support.ldap.LdaptivePersonAttributeDao] -
> Converted ldap DN entry [uid=moncada,ou=Users,dc=CAS] to attribute map
> {uid=[moncada], sambaSID=[S-1-5-21-3487125291-501236746-2344796354-
> 3480],
> gidNumber=[100], cn=[JUAN CARLOS GIMENEZ MONCADA],
> homeDirectory=[/home/moncada]}
>
> But in this class the attributes (gidNumber, homeDirectory, sambaSID) have
> disappeared.
>
> DEBUG
> [org.jasig.services.persondir.support.MergingPersonAttributeDaoImpl] -
> Retrieved
> attributes='[NamedPersonImpl[[email protected],attributes={uid=[monc
> ada],
> cn=[JUAN CARLOS GIMENEZ MONCADA]]]' for
> query='{username=[[email protected]]}', isFirstQuery=false,
> currentlyConsidering='org.jasig.services.persondir.support.ldap.LdaptivePerson
> AttributeDao@320bc246',
> resultAttributes='null'
>
> Attach configuration of deployerConfigContext.xml.
>
> If I write the attributes in lower case letters in 
> deployerConfigContext.xml then
> they appear properly in Merging class.
>
> Is there any property in xml's that doesn't let LdaptivePersonAttributeDao
> normalize the attributes to lower case?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email
> to [email protected].
> Visit this group at 
> https://groups.google.com/a/apereo.org/group/cas-user/.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-
> user/57037A95.80407%40um.es.
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/00c001d18f21%24816dbb40%24844931c0%24%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to