Hi all,
I'm using cas since 4 months now, and I used the ldap backend. I needed CAS
to bring some attributes from the ldap server, so I added the
"attributeRepository" bean. All works fine and I'm getting the "memberOf"
attribute in the XML response. But I keep getting a warning in the cas.log:

"WARN [org.jasig.services.persondir.support.ldap.PersonAttributesMapper] -
Converting value 1 of LDAP attribute 'memberOf' from byte[] to String"

I opened the file PersonAttributesMapper.java:

                     if (!(attributeValue instanceof byte[])) {
                        if (this.logger.isWarnEnabled()) {
                            this.logger.warn("Converting value " +
valueCount + " of LDAP attribute '" + ldapAttributeName + "' from byte[] to
String");
                        }

                        attributeValue = attributeValue.toString();
                    }

I still cannot understand the meaning of this code, can someone help me!!

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to