Overview | Package | Class | Tree | Deprecated | Index | Help
| Openfire 3.7.1 Javadoc
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.jivesoftware.openfire.user

Provides the interfaces and classes necessary to create custom user account data providers for Openfire.

See:
Description

Interface Summary
PresenceEventListener | Interface to listen for presence events.
RemotePresenceEventListener | Interface to listen for presence events of remote users.
UserNameProvider | Interface to be implemented by components that are capable of returning the name of entities when running as internal components.
UserProvider | Provider interface for the user system.

Class Summary
DefaultUserProvider | Default implementation of the UserProvider interface, which reads and writes data from the `ofUser` database table.
HybridUserProvider |
JDBCUserProvider | The JDBC user provider allows you to use an external database to define the users.
NativeUserProvider | A UserProvider to be used in conjunction with `NativeAuthProvider`, which authenticates using OS-level authentication.
POP3UserProvider | A UserProvider to be used in conjunction with `POP3AuthProvider`, which authenticates using a POP3 server.
PresenceEventDispatcher | Dispatches presence events.
RemotePresenceEventDispatcher | Dispatches presence events of remote users.
User | Encapsulates information about a user.
UserCollection | Provides a view of an array of usernames as a Collection of User objects.
UserManager | Manages users, including loading, creating and deleting.
UserNameManager | Main responsibility of this class is to return the correct name of XMPP entities.

Exception Summary
UserAlreadyExistsException | Thrown when attempting to create a user that already exists.
UserNotFoundException | Thrown when User cannot be found.

## Package org.jivesoftware.openfire.user Description

Provides the interfaces and classes necessary to create custom user account data providers for Openfire.

User accounts are handled separately from authentication. The three primary interfaces to implement are the UserIDProvider, UserAccountProvider, and UserInfoProvider. An overview of how these providers should be implemented and how they interact is described in the User Account Provider Guide included in the Openfire distribution.

There are several Roster (a.k.a. Buddy List) related classes in the user package. Developers are strongly discouraged from implementing custom RosterProvider classes. Roster provider implementation is complicated and should be left to the Jive JDBC implementation if at all possible. There are no disadvantages in implementing user account data with custom providers to integrate Openfire with a CRM or ERP user system, while leaving roster storage in Jive's standard JDBC database tables. (Note: Openfire comes with JDBC and LDAP user account providers 'out of the box'. It is expected that LDAP will accomodate many enterprise integration needs).

Overview | Package | Class | Tree | Deprecated | Index | Help
| Openfire 3.7.1 Javadoc
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2003-2008 Jive Software.