Package org.jivesoftware.openfire.user
Class MappedUserProvider
java.lang.Object
org.jivesoftware.openfire.user.UserMultiProvider
org.jivesoftware.openfire.user.MappedUserProvider
- All Implemented Interfaces:
UserProvider
A
UserProvider
that delegates to a user-specific UserProvider.
This class related to, but is distinct from HybridUserProvider
. The Hybrid variant of the provider iterates
over providers, operating on the first applicable instance. This Mapped variant, however, maps each user to exactly
one provider.
To use this provider, use the following system property definition:
provider.user.className = org.jivesoftware.openfire.user.MappedUserProvider
UserProviderMapper
must be configured using the mappedUserProvider.mapper.className
system property. It is of importance to note that most UserProviderMapper implementations will require additional
configuration.- Author:
- Guus der Kinderen, guus@goodbytes.nl
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final UserProviderMapper
Used to determine what provider is to be used to operate on a particular user.static final String
Name of the property of which the value is expected to be the classname of the UserProviderMapper instance to be used by instances of this class. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jivesoftware.openfire.user.UserMultiProvider
createUser, deleteUser, findUsers, findUsers, getSearchFields, getUserCount, getUsernames, getUsers, getUsers, instantiate, instantiate, instantiate, isEmailRequired, isNameRequired, isReadOnly, loadUser, setCreationDate, setEmail, setModificationDate, setName
-
Field Details
-
PROPERTY_MAPPER_CLASSNAME
Name of the property of which the value is expected to be the classname of the UserProviderMapper instance to be used by instances of this class.- See Also:
-
mapper
Used to determine what provider is to be used to operate on a particular user.
-
-
Constructor Details
-
MappedUserProvider
public MappedUserProvider()
-
-
Method Details
-
getUserProviders
-
getUserProvider
-