protected Object read()

in src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/NestedAuthorizableValueMap.java [40:59]


    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 {
                // prepend the relPath to the key
                String relPropKey = String.format("%s/%s", relPropPath, key);
                if (authorizable.hasProperty(relPropKey)) {
                    value = readPropertyAndCache(key, relPropKey);
                } else {
                    // property not found or some error accessing it
                }
            } catch (RepositoryException re) {
                log.error("Could not access authorizable property", re);
            }
        }

        return value;
    }