Package org.jivesoftware.openfire.auth
Class MappedAuthProvider
java.lang.Object
org.jivesoftware.openfire.auth.AuthMultiProvider
org.jivesoftware.openfire.auth.MappedAuthProvider
- All Implemented Interfaces:
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
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final AuthProviderMapperUsed to determine what provider is to be used to operate on a particular user.static final StringName 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. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jivesoftware.openfire.auth.AuthMultiProvider
authenticate, getIterations, getPassword, getSalt, getServerKey, getStoredKey, instantiate, instantiate, isScramSupported, setPassword, supportsPasswordRetrieval
-
Field Details
-
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
Used to determine what provider is to be used to operate on a particular user.
-
-
Constructor Details
-
MappedAuthProvider
public MappedAuthProvider()
-