public static boolean getXMLProperty(String name, boolean defaultValue) {
        String value = getXMLProperty(name);
        if (value != null) {
            return Boolean.parseBoolean(value);
        }
        return defaultValue;
    }
Returns a boolean value local property. Local properties are stored in the
file defined in {@code JIVE_CONFIG_FILENAME} that exists in the {@code home}
directory. Properties are always specified as "foo.bar.prop", which would map to
the following entry in the XML file:
<pre>
&lt;foo&gt;
    &lt;bar&gt;
        &lt;prop&gt;some value&lt;/prop&gt;
    &lt;/bar&gt;
&lt;/foo&gt;
</pre>

If the specified property can't be found, the {@code defaultValue} will be returned.
If the property is found, it will be parsed using {@link Boolean#valueOf(String)}.  

@param name the name of the property to return.
@param defaultValue value returned if the property could not be loaded or was not
     a number.
@return the property value specified by name or {@code defaultValue}.
xmppserver/src/main/java/org/jivesoftware/util/JiveGlobals.java