public class POP3UserProvider extends DefaultUserProvider
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>
POP3AuthProvider
Constructor and Description |
---|
POP3UserProvider() |
Modifier and Type | Method and Description |
---|---|
void |
setEmail(String username,
String email)
Sets the user's email address.
|
createUser, deleteUser, findUsers, findUsers, getSearchFields, getUserCount, getUsernames, getUsers, getUsers, isEmailRequired, isNameRequired, isReadOnly, loadUser, setCreationDate, setModificationDate, setName
public void setEmail(String username, String email) throws UserNotFoundException
UserProvider
setEmail
in interface UserProvider
setEmail
in class DefaultUserProvider
username
- the username.email
- the email address.UserNotFoundException
- if the user could not be found.Copyright © 2003-2008 Jive Software.