public void setVerifyCertificateValidity( boolean verify )
    {
        final boolean oldValue = verifyCertificateValidity();

        // Always set the property explicitly even if it appears the equal to the old value (the old value might be a fallback value).
        JiveGlobals.setProperty( type.getPrefix() + "certificate.verify.validity", Boolean.toString( verify ) );

        if ( oldValue == verify )
        {
            Log.debug( "Ignoring certificate validity verification configuration change request (to '{}'): listener already in this state.", verify );
            return;
        }

        Log.debug( "Changing certificate validity verification configuration from '{}' to '{}'.", oldValue, verify );
        restart();
    }
Configures if the current validity of certificates (based on their 'notBefore' and 'notAfter' property values) is
used when they are used to establish an encrypted connection.

@param verify true when certificates are required to be valid to establish a encrypted connection, otherwise false.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ConnectionListener.java