in src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java [75:104]
protected void readFully() {
if (!fullyRead) {
try {
if (authorizable.isGroup()) {
cache.put(MEMBERS_KEY, getMembers((Group) authorizable, true));
cache.put(DECLARED_MEMBERS_KEY, getMembers((Group) authorizable, false));
}
cache.put(MEMBER_OF_KEY, getMemberships(true));
cache.put(DECLARED_MEMBER_OF_KEY, getMemberships(false));
String path = getPath();
if (path != null) {
cache.put(PATH_KEY, path);
}
// only direct property
Iterator<String> pi = authorizable.getPropertyNames();
while (pi.hasNext()) {
String key = pi.next();
if (!cache.containsKey(key)) {
readPropertyAndCache(key, key);
}
}
fullyRead = true;
} catch (RepositoryException re) {
log.error("Could not access certain properties of user {}", authorizable, re);
}
}
}