Tree tree = getTree();
Value[] values = null;
PropertyState property = getAuthorizableProperty(tree, getLocation(tree, relPath), true);
if (property != null) {
NamePathMapper npMapper = authorizable.getUserManager().getNamePathMapper();
if (property.isArray()) {
List<Value> vs = ValueFactoryImpl.createValues(property, npMapper);
values = vs.toArray(new Value[vs.size()]);
} else {
values = new Value[]{ValueFactoryImpl.createValue(property, npMapper)};