Package org.jivesoftware.openfire.crowd
Class CrowdAdminProvider
java.lang.Object
org.jivesoftware.openfire.crowd.CrowdAdminProvider
- All Implemented Interfaces:
AdminProvider
Admin provider which will map a crowd group with openfire authorized admin users
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.xmpp.packet.JID>Returns a list of JIDs of accounts with administrative privileges.booleanIndicates whether the admin list is read-only or not.voidSets the list of admin accounts, by JID.
-
Constructor Details
-
CrowdAdminProvider
public CrowdAdminProvider()
-
-
Method Details
-
getAdmins
Description copied from interface:AdminProviderReturns a list of JIDs of accounts with administrative privileges.- Specified by:
getAdminsin interfaceAdminProvider- Returns:
- The list of admin users.
-
setAdmins
Description copied from interface:AdminProviderSets the list of admin accounts, by JID.- Specified by:
setAdminsin interfaceAdminProvider- Parameters:
admins- List of JIDs of accounts to grant admin access to.
-
isReadOnly
public boolean isReadOnly()Description copied from interface:AdminProviderIndicates whether the admin list is read-only or not. In other words, whether an admin can change who is an admin from the Openfire admin interface.- Specified by:
isReadOnlyin interfaceAdminProvider- Returns:
- True or false if the admin list can be edited.
-