Saturday, July 7, 2012

Plugging an external Jackrabbit repository to Apache Sling Launchpad : Complete

After number of trials I could plug an external Jackrabbit repository to Apache Sling Launchpad. Here are the steps I followed.

Step 1:

Go to external Jackrabbit repository directory. Modify its repository.xml by replacing its configuration element by following.

<Security appName="Jackrabbit">
     <SecurityManager class="org.apache.jackrabbit.core.DefaultSecurityManager" workspaceName="security">
     </SecurityManager>
     <AccessManager class="org.apache.sling.jcr.jackrabbit.server.impl.security.PluggableDefaultAccessManager">
     </AccessManager>
     <LoginModule class="org.apache.sling.jcr.jackrabbit.server.impl.security.PluggableDefaultLoginModule">
          <param name="anonymousId" value="anonymous"/>
          <param name="adminId" value="admin"/>
     </LoginModule>
</Security>


Step 2: 


Follow steps in this post.

That's all. Everything works smoothly.

No comments: