[ 
https://issues.apache.org/jira/browse/SLING-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569876#action_12569876
 ] 

Felix Meschberger commented on SLING-251:
-----------------------------------------

It is somewhere in the middle of vanity URL and specialized mapping. Of course 
the mapping case could easily be handled by something like 

     "/~/" --> "/home/"

But this would only influence the ResourceResolver.resolve methods. To also 
influence the ResourceResolver.getResource() methods we would have to build in 
some mechanism to recognize the ~ character. We could also imaging mapping

      ~fmeschbe/...

to /home/fmeschbe/... same as in *nix.

> Add mapping for user homes
> --------------------------
>
>                 Key: SLING-251
>                 URL: https://issues.apache.org/jira/browse/SLING-251
>             Project: Sling
>          Issue Type: Improvement
>          Components: Resource
>            Reporter: Tobias Bocanegra
>
> it would be very practical to have a mapping to 'user homes'. i.e. like the 
> unix tilde expansion:
> http://host/~/test
> would resolve to a resource: /home/tripod/test (if the request is 
> authenticated as 'tripod').
> i don't think that the reverse mapping is needed.
> the user home root resource (i.e. "/home") needs to be configurable.
> possible default values for the user root are:
> /home
> /users
> /people
> but i prefer "/home"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to