jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihai Liu" <z...@cleverex.com>
Subject JackrabbitSessionFactory in Spring Modules
Date Wed, 20 Feb 2008 19:53:31 GMT
 

      <bean id="jcrSessionFactory"
class="org.springmodules.jcr.jackrabbit.JackrabbitSessionFactory">

            <property name="repository" ref="jcrRepository" />

            <property name="workspaceName" value="default" />

            <property name="credentials">

                  <bean class="javax.jcr.SimpleCredentials">

                        <constructor-arg index="0" value="bogus" />

                        <constructor-arg index="1">

                              <bean factory-bean="password"
factory-method="toCharArray" />

                        </constructor-arg>

                  </bean>

            </property>

      </bean>

 

Thanks.

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message