public class DefaultAdminProvider extends Object implements AdminProvider
Constructor and Description |
---|
DefaultAdminProvider()
Constructs a new DefaultAdminProvider
|
Modifier and Type | Method and Description |
---|---|
List<org.xmpp.packet.JID> |
getAdmins()
The default provider retrieves the comma separated list from the system property
admin.authorizedJIDs
|
boolean |
isReadOnly()
The default provider is not read only
|
void |
setAdmins(List<org.xmpp.packet.JID> admins)
The default provider sets a comma separated list as the system property
admin.authorizedJIDs
|
public DefaultAdminProvider()
public List<org.xmpp.packet.JID> getAdmins()
getAdmins
in interface AdminProvider
AdminProvider.getAdmins()
public void setAdmins(List<org.xmpp.packet.JID> admins)
setAdmins
in interface AdminProvider
admins
- List of JIDs of accounts to grant admin access to.AdminProvider.setAdmins(java.util.List)
public boolean isReadOnly()
isReadOnly
in interface AdminProvider
AdminProvider.isReadOnly()
Copyright © 2003-2008 Jive Software.