public Connection.ClientAuth getClientAuth()
    {
        Connection.ClientAuth clientAuth;
        if ( clientAuthPolicyPropertyName == null )
        {
            clientAuth = getDefaultClientAuth();
        }
        else
        {
            final String value = JiveGlobals.getProperty( clientAuthPolicyPropertyName, getDefaultClientAuth().name() );
            try
            {
                clientAuth = Connection.ClientAuth.valueOf( value );
            }
            catch ( IllegalArgumentException e )
            {
                Log.error( "Error parsing property value of '{}' into a valid ClientAuth. Offending value: '{}'.", value, clientAuthPolicyPropertyName, e );
                clientAuth = getDefaultClientAuth();
            }
        }
        return clientAuth;
    }
Changes the TCP port on which connections are accepted, This configuration change is persisted.

If the listener is currently enabled, this configuration change will be applied immediately (which will cause a
restart of the underlying connection acceptor).

An invocation of this method has no effect if the new port value is equal to the existing value.

@param port A port number.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ConnectionListener.java