Class MappedAuthProvider

java.lang.Object
org.jivesoftware.openfire.auth.AuthMultiProvider
org.jivesoftware.openfire.auth.MappedAuthProvider
All Implemented Interfaces:
AuthProvider

public class MappedAuthProvider extends AuthMultiProvider
A AuthProvider that delegates to a user-specific AuthProvider. This class related to, but is distinct from HybridAuthProvider. 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.auth.className = org.jivesoftware.openfire.user.MappedAuthProvider
To be usable, a AuthProviderMapper must be configured using the mappedAuthProvider.mapper.className system property. It is of importance to note that most AuthProviderMapper implementations will require additional configuration.
Author:
Guus der Kinderen, guus@goodbytes.nl
  • 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 AuthProviderMapper instance to be used by instances of this class.
      See Also:
    • mapper

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

    • MappedAuthProvider

      public MappedAuthProvider()