@Override
    void createSession(String serverName, XmlPullParser xpp, Connection connection) throws XmlPullParserException
    {
        // The connected client is a server so create an IncomingServerSession
        try {
            session = LocalIncomingServerSession.createSession(serverName, xpp, connection, this.directTLS, this.startedTLS);
        } catch (IOException e) {
            Log.error(e.getMessage(), e);
        }
    }
Controls if JIDs that are in the addresses of stanzas supplied by remote domains are validated.
xmppserver/src/main/java/org/jivesoftware/openfire/net/ServerStanzaHandler.java