Generate a resource domain for a given JCR folder path