Package org.jivesoftware.openfire.admin
Class DefaultAdminProvider
java.lang.Object
org.jivesoftware.openfire.admin.DefaultAdminProvider
- All Implemented Interfaces:
AdminProvider
Handles default management of admin users, which stores the list if accounts as a system property.
- Author:
- Daniel Henninger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.xmpp.packet.JID>The default provider retrieves the comma separated list from the system propertyadmin.authorizedJIDsbooleanThe default provider is not read onlyvoidThe default provider sets a comma separated list as the system propertyadmin.authorizedJIDs
-
Constructor Details
-
DefaultAdminProvider
public DefaultAdminProvider()Constructs a new DefaultAdminProvider
-
-
Method Details
-
getAdmins
The default provider retrieves the comma separated list from the system propertyadmin.authorizedJIDs- Specified by:
getAdminsin interfaceAdminProvider- Returns:
- The list of admin users.
- See Also:
-
setAdmins
The default provider sets a comma separated list as the system propertyadmin.authorizedJIDs- Specified by:
setAdminsin interfaceAdminProvider- Parameters:
admins- List of JIDs of accounts to grant admin access to.- See Also:
-
isReadOnly
public boolean isReadOnly()The default provider is not read only- Specified by:
isReadOnlyin interfaceAdminProvider- Returns:
- True or false if the admin list can be edited.
- See Also:
-