grouper-dev - [grouper-dev] LdapSession.list bug
Subject: Grouper Developers Forum
List archive
- From: Jeff McCullough <>
- To: Grouper Dev <>
- Cc: " Administration" <>
- Subject: [grouper-dev] LdapSession.list bug
- Date: Wed, 24 Jul 2013 16:10:00 -0700
In the LdapSession.list method there is small bug that throws an error if the
ldap attribute in question does not exist for the user. There should be a
check for a null value before the for loop.
if (attribute != null) {
for (int i=0;i<attribute.size();i++) {
Object attributeValue = attribute.get(i);
attributeValue = GrouperUtil.typeCast(attributeValue,
returnType);
if (attributeValue != null) {
result.add((R)attributeValue);
}
}
}
Cheers,
Jeff
- [grouper-dev] LdapSession.list bug, Jeff McCullough, 07/24/2013
- RE: [grouper-dev] LdapSession.list bug, Chris Hyzer, 07/24/2013
Archive powered by MHonArc 2.6.16.