POP3UserProvider.java 1.4 KB
Newer Older
1 2 3 4 5
/**
 * $RCSfile$
 * $Revision: 1765 $
 * $Date: 2005-08-10 22:37:59 -0700 (Wed, 10 Aug 2005) $
 *
6
 * Copyright (C) 2005-2008 Jive Software. All rights reserved.
7 8
 *
 * This software is published under the terms of the GNU Public License (GPL),
9 10
 * a copy of which is included in this distribution, or a commercial license
 * agreement with Jive.
11 12
 */

13
package org.jivesoftware.openfire.user;
14 15 16

/**
 * A UserProvider to be used in conjunction with
17
 * {@link org.jivesoftware.openfire.auth.POP3AuthProvider POP3AuthProvider}, which
18 19 20 21 22 23 24 25
 * 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:
 *
 * <pre>
 * &lt;provider&gt;
 *     &lt;auth&gt;
26
 *         &lt;className&gt;org.jivesoftware.openfire.auth.POP3AuthProvider&lt;/className&gt;
27 28
 *     &lt;/auth&gt;
 *     &lt;user&gt;
29
 *         &lt;className&gt;org.jivesoftware.openfire.user.POP3UserProvider&lt;/className&gt;
30 31 32 33
 *     &lt;/user&gt;
 * &lt;/provider&gt;
 * </pre>
 *
34
 * @see org.jivesoftware.openfire.auth.POP3AuthProvider POP3AuthProvider
35 36 37 38 39 40 41 42
 * @author Sean Meiners
 */
public class POP3UserProvider extends DefaultUserProvider {

    public void setEmail(String username, String email) throws UserNotFoundException {
        throw new UnsupportedOperationException();
    }
}