public class JDBCAdminProvider extends Object implements AdminProvider
If you want to be able to update the admin users via the UI, add the following properties:
In order to use the configured JDBC connection provider do not use a JDBC connection string, set the following property
| Constructor and Description |
|---|
JDBCAdminProvider()
Constructs a new JDBC admin provider.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.xmpp.packet.JID> |
getAdmins()
Returns a list of JIDs of accounts with administrative privileges.
|
boolean |
isReadOnly()
Indicates whether the admin list is read-only or not.
|
void |
setAdmins(List<org.xmpp.packet.JID> newAdmins)
Sets the list of admin accounts, by JID.
|
public JDBCAdminProvider()
public List<org.xmpp.packet.JID> getAdmins()
AdminProvidergetAdmins in interface AdminProviderpublic void setAdmins(List<org.xmpp.packet.JID> newAdmins)
AdminProvidersetAdmins in interface AdminProvidernewAdmins - List of JIDs of accounts to grant admin access to.public boolean isReadOnly()
AdminProviderisReadOnly in interface AdminProviderCopyright © 2003-2008 Jive Software.