Package | Description |
---|---|
org.apache.james.adapter.mailbox.maildir | |
org.apache.james.container.spring.tool | |
org.apache.james.fetchmail | |
org.apache.james.user.api | |
org.apache.james.user.file | |
org.apache.james.user.hbase | |
org.apache.james.user.jcr | |
org.apache.james.user.jdbc | |
org.apache.james.user.jpa | |
org.apache.james.user.ldap | |
org.apache.james.user.lib |
Implementations of user repositories for use in James.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.james.mailbox.maildir.MaildirStore |
MaildirStoreUtil.create(FileSystem fs,
UsersRepository usersRepos,
String rootURL,
org.apache.james.mailbox.MailboxPathLocker locker)
Return a
MaildirStore instance |
Modifier and Type | Method and Description |
---|---|
void |
James23Importer.importMailsFromJames23(String james23MailRepositoryPath)
Import 2.3 mails to 3.0 mails.
|
void |
James23Importer.importUsersAndMailsFromJames23(String james23MailRepositoryPath,
String defaultPassword)
Import 2.3 users to 3.0 users (taking virtualDomains into account)
Import 2.3 mails to 3.0 mails. |
void |
James23Importer.importUsersFromJames23(String defaultPassword)
Import 2.3 users to 3.0 users (taking virtualDomains into account)
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
MessageProcessor.isLocalRecipient(org.apache.mailet.MailAddress recipient)
Method isLocalRecipient.
|
Modifier and Type | Method and Description |
---|---|
void |
UsersRepository.addUser(String username,
String password)
Adds a user to the repository with the specified password
|
boolean |
UsersRepository.contains(String name)
Returns whether or not this user is in the repository
|
int |
UsersRepository.countUsers()
Returns a count of the users in the repository.
|
User |
UsersRepository.getUserByName(String name)
Get the user object with the specified user name.
|
Iterator<String> |
UsersRepository.list()
List users in repository.
|
void |
UsersRepository.removeUser(String name)
Removes a user from the repository
|
boolean |
UsersRepository.supportVirtualHosting()
Return true if virtualHosting support is enabled, otherwise false
|
boolean |
UsersRepository.test(String name,
String password)
Test if user with name 'name' has password 'password'.
|
void |
UsersRepository.updateUser(User user)
Update the repository with the specified user object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UsersFileRepository.contains(String name)
Deprecated.
|
int |
UsersFileRepository.countUsers()
Deprecated.
|
protected void |
UsersFileRepository.doAddUser(User user)
Deprecated.
|
protected void |
UsersFileRepository.doUpdateUser(User user)
Deprecated.
|
User |
UsersFileRepository.getUserByName(String name)
Deprecated.
|
void |
UsersFileRepository.removeUser(String name)
Deprecated.
|
boolean |
UsersFileRepository.test(String name,
String password)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HBaseUsersRepository.contains(String name) |
int |
HBaseUsersRepository.countUsers() |
protected void |
HBaseUsersRepository.doAddUser(String username,
String password) |
User |
HBaseUsersRepository.getUserByName(String name) |
Iterator<String> |
HBaseUsersRepository.list() |
void |
HBaseUsersRepository.removeUser(String name) |
boolean |
HBaseUsersRepository.test(String name,
String password) |
void |
HBaseUsersRepository.updateUser(User user) |
Modifier and Type | Method and Description |
---|---|
boolean |
JCRUsersRepository.contains(String name)
Returns whether or not this user is in the repository
|
int |
JCRUsersRepository.countUsers()
Returns a count of the users in the repository.
|
protected void |
JCRUsersRepository.doAddUser(String username,
String password) |
Iterator<String> |
JCRUsersRepository.list()
List users in repository.
|
void |
JCRUsersRepository.removeUser(String username)
Removes a user from the repository
|
boolean |
JCRUsersRepository.test(String username,
String password)
Test if user with name 'name' has password 'password'.
|
void |
JCRUsersRepository.updateUser(User user)
Update the repository with the specified user object.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultUsersJdbcRepository.addUser(String username,
String password)
Deprecated.
|
boolean |
AbstractJdbcUsersRepository.contains(String name)
Deprecated.
Returns whether or not this user is in the repository
|
boolean |
AbstractJdbcUsersRepository.containsCaseInsensitive(String name)
Deprecated.
Returns whether or not this user is in the repository.
|
int |
AbstractJdbcUsersRepository.countUsers()
Deprecated.
Returns a count of the users in the repository.
|
protected void |
AbstractJdbcUsersRepository.doAddUser(User user)
Deprecated.
Adds a user to the underlying Repository.
|
protected void |
AbstractJdbcUsersRepository.doRemoveUser(User user)
Deprecated.
Removes a user from the underlying repository.
|
protected void |
AbstractJdbcUsersRepository.doUpdateUser(User user)
Deprecated.
Updates a user record to match the supplied User.
|
User |
AbstractJdbcUsersRepository.getUserByName(String name)
Deprecated.
Get the user object with the specified user name.
|
protected User |
AbstractJdbcUsersRepository.getUserByName(String name,
boolean ignoreCase)
Deprecated.
Gets a user by name, ignoring case if specified.
|
protected User |
AbstractJdbcUsersRepository.getUserByNameIterating(String name,
boolean ignoreCase)
Deprecated.
Gets a user by name, ignoring case if specified.
|
Iterator<String> |
AbstractJdbcUsersRepository.list()
Deprecated.
List users in repository.
|
protected Iterator<User> |
AbstractJdbcUsersRepository.listAllUsers()
Deprecated.
Returns a list populated with all of the Users in the repository.
|
protected List<String> |
AbstractJdbcUsersRepository.listUserNames()
Deprecated.
Produces the complete list of User names, with correct case.
|
void |
AbstractJdbcUsersRepository.removeUser(String userName)
Deprecated.
Removes a user from the repository
|
boolean |
AbstractJdbcUsersRepository.test(String name,
String password)
Deprecated.
Test if user with name 'name' has password 'password'.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JPAUsersRepository.contains(String name)
Returns whether or not this user is in the repository
|
int |
JPAUsersRepository.countUsers()
Returns a count of the users in the repository.
|
protected void |
JPAUsersRepository.doAddUser(String username,
String password) |
String |
JPAUsersRepository.getRealName(String name)
Returns the user name of the user matching name on an equalsIgnoreCase
basis.
|
User |
JPAUsersRepository.getUserByName(String name)
Get the user object with the specified user name.
|
Iterator<String> |
JPAUsersRepository.list()
List users in repository.
|
void |
JPAUsersRepository.removeUser(String name)
Removes a user from the repository
|
boolean |
JPAUsersRepository.test(String name,
String password)
Test if user with name 'name' has password 'password'.
|
void |
JPAUsersRepository.updateUser(User user)
Update the repository with the specified user object.
|
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlyUsersLDAPRepository.addUser(String username,
String password) |
boolean |
ReadOnlyUsersLDAPRepository.contains(String name) |
boolean |
ReadOnlyUsersLDAPRepository.containsCaseInsensitive(String name) |
int |
ReadOnlyUsersLDAPRepository.countUsers() |
String |
ReadOnlyUsersLDAPRepository.getRealName(String name) |
User |
ReadOnlyUsersLDAPRepository.getUserByName(String name) |
User |
ReadOnlyUsersLDAPRepository.getUserByNameCaseInsensitive(String name) |
Iterator<String> |
ReadOnlyUsersLDAPRepository.list() |
void |
ReadOnlyUsersLDAPRepository.removeUser(String name) |
boolean |
ReadOnlyUsersLDAPRepository.supportVirtualHosting()
VirtualHosting not supported
|
boolean |
ReadOnlyUsersLDAPRepository.test(String name,
String password) |
void |
ReadOnlyUsersLDAPRepository.updateUser(User user) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractUsersRepository.addUser(String username,
String password) |
protected abstract void |
AbstractUsersRepository.doAddUser(String username,
String password)
Add the user with the given username and password
|
protected void |
AbstractJamesUsersRepository.doAddUser(String username,
String password)
Deprecated.
|
protected abstract void |
AbstractJamesUsersRepository.doAddUser(User user)
Deprecated.
Adds a user to the underlying Repository.
|
protected abstract void |
AbstractJamesUsersRepository.doUpdateUser(User user)
Deprecated.
Updates a user record to match the supplied User.
|
protected void |
AbstractUsersRepository.isValidUsername(String username) |
boolean |
AbstractUsersRepository.supportVirtualHosting() |
void |
AbstractJamesUsersRepository.updateUser(User user)
Deprecated.
Update the repository with the specified user object.
|
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.