You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Jason Rose <jr...@meltmedia.com> on 2010/02/12 18:35:21 UTC
Configuration of Embedded Jackrabbit
Hello all,
As part of the process of testing our sling apps in staging and QA
environments, we currently have to configure our sling instance
manually. I'd like to automate this process with some bundles, if it
is at all possible. Among the things I'd like to do are:
1) Change the repository.xml that sling feeds to its embedded
jackrabbit.
* currently, this has to be a file or url. Is there a way to send it
an object(pojo, dom, string, etc) from JNDI or an OSGi service call?
My current fallback is starting a WAR as a bundle that exposes our
custom repository.xml file.
2) Change default admin username/password
* right now a knowledgeable user could really break a vanilla sling
instance. This isn't so much a problem in our internal environments,
but if we want our staging areas to be the same as our production
environment, I want to be able to change this.
Are there any users out there that have some insights on modifying
these sorts of things in a programmatic way?
Thank you for your time,
Jason