@Override
    public void removeUsersAllowedToCreate(final Collection<JID> userJIDs) {
        boolean listChanged = false;

        for(final JID userJID: userJIDs) {
            // Update the list of allowed JIDs to create MUC rooms. Since we are updating the instance
            // variable there is no need to restart the service
            listChanged |= allowedToCreate.remove(userJID);
        }

        // if none of the JIDs were on the list, there's nothing to update
        if(listChanged) {
            MUCPersistenceManager.setProperty(chatServiceName, "create.jid", fromCollection(allowedToCreate));
        }
    }
Sets the flag that indicates if the service should provide information about locked rooms
when handling service discovery requests.
Note: Setting this flag in false is not compliant with the spec. A user may try to join a
locked room thinking that the room doesn't exist because the user didn't discover it before.

@param allowToDiscoverLockedRooms if the service should provide information about locked
       rooms.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/spi/MultiUserChatServiceImpl.java