Package org.jivesoftware.openfire.user
Class POP3UserProvider
java.lang.Object
org.jivesoftware.openfire.user.DefaultUserProvider
org.jivesoftware.openfire.user.POP3UserProvider
- All Implemented Interfaces:
UserProvider
A UserProvider to be used in conjunction with
POP3AuthProvider, which
authenticates using a POP3 server. New user accounts will automatically be created
as needed (upon successful initial authentication) and are subsequently treated as
read-only (for the most part). To enable this provider, edit the XML config file
and set:
<provider>
<auth>
<className>org.jivesoftware.openfire.auth.POP3AuthProvider</className>
</auth>
<user>
<className>org.jivesoftware.openfire.user.POP3UserProvider</className>
</user>
</provider>
- Author:
- Sean Meiners
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jivesoftware.openfire.user.DefaultUserProvider
createUser, deleteUser, findUsers, findUsers, getSearchFields, getUserCount, getUsernames, getUsers, getUsers, isEmailRequired, isNameRequired, isReadOnly, loadUser, setCreationDate, setModificationDate, setName
-
Constructor Details
-
POP3UserProvider
public POP3UserProvider()
-
-
Method Details
-
setEmail
Description copied from interface:UserProviderSets the user's email address. This method should throw an UnsupportedOperationException if this operation is not supported by the backend user store.- Specified by:
setEmailin interfaceUserProvider- Overrides:
setEmailin classDefaultUserProvider- Parameters:
username- the username.email- the email address.- Throws:
UserNotFoundException- if the user could not be found.
-