/** * Make the room password protected. * * @return a reference to this object. * @throws MucConfigurationNotSupportedException */ public MucConfigFormManager makePasswordProtected() throws MucConfigurationNotSupportedException { return setIsPasswordProtected(true); }
/** * Set a password and make the room password protected. Users will need to supply the password * to join the room. * * @param password the password to set. * @return a reference to this object. * @throws MucConfigurationNotSupportedException */ public MucConfigFormManager setAndEnablePassword(String password) throws MucConfigurationNotSupportedException { return setIsPasswordProtected(true).setRoomSecret(password); }