Class MappedUserProvider

java.lang.Object
org.jivesoftware.openfire.user.UserMultiProvider
org.jivesoftware.openfire.user.MappedUserProvider
All Implemented Interfaces:
UserProvider

public class MappedUserProvider extends UserMultiProvider
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
To be usable, a 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 Details

    • PROPERTY_MAPPER_CLASSNAME

      public static final String 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

      protected final UserProviderMapper mapper
      Used to determine what provider is to be used to operate on a particular user.
  • Constructor Details

    • MappedUserProvider

      public MappedUserProvider()
  • Method Details