Problem with openfire.xml editing

Hello. I’ve encountered a problem with adding sasl section to openfire.xml.

When I add section to openfire.xml it starts to ignore section, so i cannot log in to admin console and clients cannot connect to server.

<sasl>
    <mechs>GSSAPI</mechs>
    <realm>DOMAIN.NAME</realm>
    <gssapi>
      <debug>true</debug>
      <config>/usr/share/openfire/conf/gss.conf</config>
      <useSubjectCredsOnly">false</useSubjectCredsOnly>
    </gssapi>
  </sasl>   <authorization>
    <classList>org.jivesoftware.openfire.auth.DefaultAuthorizationPolicy</classList>
  </authorization>

What did i do wrong?

Seems, these parametres should be now entered via admin console/system properties