Losing Attributes CAS 4.1.6

31 views
Skip to first unread message

Juan Carlos Giménez Moncada

unread,
Apr 5, 2016, 4:43:06 AM4/5/16
to cas-...@apereo.org
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[name=mon...@um.es,attributes={uid=[moncada],
cn=[JUAN CARLOS GIMENEZ MONCADA]]]' for
query='{username=[mon...@um.es]}', isFirstQuery=false,
currentlyConsidering='org.jasig.services.persondir.support.ldap.LdaptivePersonAttributeDao@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.
deployerConfigContext.xml

Misagh Moayyed

unread,
Apr 5, 2016, 5:57:10 AM4/5/16
to cas-...@apereo.org
See https://github.com/Jasig/cas/issues/1674
> --
> 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 cas-user+u...@apereo.org.
> 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.
Reply all
Reply to author
Forward
0 new messages