Hi all
I'm trying Apache James Server and I don't understand how can i use
ReadOnlyUsersLDAPRepository.
I have the following in usersrepository.xml
<usersrepository>
<!-- Read-Only LDAP based UsersRepository -->
<repository name="LocalUsers"
class="org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository"
ldapHost="ldap://obm3.kvm.rla:389"
principal="" credentials="" userBase="dc=local"
userIdAttribute="mailBox"/>;
<!--
<repository name="LocalUsers"
class="org.apache.james.user.jpa.JPAUsersRepository">
<algorithm>MD5</algorithm>
</repository>
-->
</usersrepository>
but the server don't want to start with this error:
Error creating bean with name 'usersstore'
Error creating bean with name 'localusersrepository':
in spring-beans.xml
<bean id="usersstore" class="org.apache.james.user.lib.JamesUsersStore" >
<property name="defaultRepository" value="LocalUsers"/>
</bean>
<bean id="localusersrepository"
class="org.apache.james.user.lib.LocalUsersRepository"
thanks for help