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

Bertrand Delacretaz commented on SLING-739:
-------------------------------------------

If we want to improve the sling.repository.config.file.url handling, there are 
two methods that process it: SlingServerRepository.acquireRepository(), and 
Activator.getConfigFile(), in the org.apache.sling.jcr.jackrabbit.server bundle.

> Improve the Sling Embedded repository config to make it more flexible
> ---------------------------------------------------------------------
>
>                 Key: SLING-739
>                 URL: https://issues.apache.org/jira/browse/SLING-739
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: 3
>            Reporter: Juan Jose Vazquez Delgado
>            Assignee: Juan Jose Vazquez Delgado
>            Priority: Minor
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> As discussed in [1], it would be necessary to make the Sling embedded 
> repository configuration more flexible. Use cases for this can be:
> * Work with another persistent manager for nodes (rather than default one but 
> already supported by Jackrabbit. See [2]).
> * Custom login module and access manager.
> * Change the name of the repository.
> The propossal is having three new properties:
> #
> # The name of the JCR repository. Default is "jackrabbit".
> # sling.repository.name = 
> #
> # The JCR repository home directory. Default is 
> sling.home/sling.repository.name.
> # sling.repository.home = 
> #
> # The JCR repository url config file (repository.xml). Default is 
> repository.xml in
> # bundle Embedded JCR Repository
> # sling.repository.config.file.url =
> These properties can be set in sling.properties, as system properties or as 
> web app init-params. The properties are not mandatory. The default beahaviour 
> is a "jackrabbit" repo under sling home if the properties are not set.
> [1] http://markmail.org/search/Customizing+the+Sling+embedded+repository 
> [2] 
> http://markmail.org/message/2mtvc3egw5omcrbd?q=Customizing+the+Sling+embedded+repository

-- 
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