User repositories are required to store James user information and authentication data
Consult usersrepository.xml in GIT to get some examples and hints.
JPA (database via OpenJPA) based user repository. This is the default implementation.
The usersrepository tag as 2 attributes: name="LocalUsers" and class="org.apache.james.user.file.UsersFileRepository">
The File UsersRepository implementations below are DEPRECATED and will get removed in the next release
It just listed here for backward-compatibility
File-based user repositories Use these configurations to store user info in the filesystem.
The usersrepository tag as 2 attributes:name="LocalUsers" class="org.apache.james.user.file.UsersFileRepository">
The JDBC UsersRepository implementations below are DEPRECATED and will get removed in the next release.
It just listed here for backward-compatibility.
Read-Only LDAP based UsersRepository
Example:
<repository name="LocalUsers" class="org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository" ldapHost="ldap://myldapserver:389" principal="uid=ldapUser,ou=system" credentials="password" userBase="ou=People,o=myorg.com,ou=system" userIdAttribute="uid"/>