Class MappedAuthProvider

  • All Implemented Interfaces:
    AuthProvider

    public class MappedAuthProvider
    extends Object
    implements AuthProvider
    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