in src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java [45:72]
protected Object read(String key) {
Object value = null;
// if the item has been completely read, we need not check
// again, as we certainly will not find the key
if (!fullyRead) {
try {
if (key.equals(MEMBERS_KEY) && authorizable.isGroup()) {
value = getMembers((Group) authorizable, true);
} else if (key.equals(DECLARED_MEMBERS_KEY) && authorizable.isGroup()) {
value = getMembers((Group) authorizable, false);
} else if (key.equals(MEMBER_OF_KEY)) {
value = getMemberships(true);
} else if (key.equals(DECLARED_MEMBER_OF_KEY)) {
value = getMemberships(false);
} else if (key.equals(PATH_KEY)) {
value = getPath();
} else if (authorizable.hasProperty(key)) {
value = readPropertyAndCache(key, key);
} else {
// property not found or some error accessing it
}
} catch (RepositoryException re) {
log.error("Could not access authorizable property", re);
}
}
return value;
}