Jive Messenger 2.2.2 Javadoc

org.jivesoftware.messenger.user
Class NativeUserProvider

java.lang.Object
  extended by org.jivesoftware.messenger.user.DefaultUserProvider
      extended by org.jivesoftware.messenger.user.NativeUserProvider
All Implemented Interfaces:
UserProvider

public class NativeUserProvider
extends DefaultUserProvider

A UserProvider to be used in conjunction with NativeAuthProvider, which authenticates using OS-level authentication. New user accounts will automatically be created as needed (upon successful initial authentication) and are subsequently treated as read-only. To enable this provider, edit the XML config file file and set:

 <provider>
     <auth>
         <className>org.jivesoftware.messenger.auth.NativeAuthProvider</className>
     </auth>
     <user>
         <className>org.jivesoftware.messenger.user.NativeUserProvider</className>
     </user>
 </provider>
 

Author:
Matt Tucker
See Also:
NativeAuthProvider

Constructor Summary
NativeUserProvider()
           
 
Method Summary
 boolean isReadOnly()
          Returns true if this UserProvider is read-only.
 
Methods inherited from class org.jivesoftware.messenger.user.DefaultUserProvider
createUser, deleteUser, findUsers, findUsers, getPassword, getSearchFields, getUserCount, getUsers, getUsers, loadUser, setCreationDate, setEmail, setModificationDate, setName, setPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeUserProvider

public NativeUserProvider()
Method Detail

isReadOnly

public boolean isReadOnly()
Description copied from interface: UserProvider
Returns true if this UserProvider is read-only. When read-only, users can not be created, deleted, or modified.

Specified by:
isReadOnly in interface UserProvider
Overrides:
isReadOnly in class DefaultUserProvider
Returns:
true if the user provider is read-only.

Jive Messenger 2.2.2 Javadoc

Copyright © 1999-2004 Jive Software.