@Override
    public void setAllRegisteredUsersAllowedToCreate( final boolean allow ) {
        this.allRegisteredUsersAllowedToCreate = allow;
        MUCPersistenceManager.setProperty(chatServiceName, "create.all-registered", Boolean.toString(allow));
    }
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