public void setLocalDomain(String domain) {
        localDomain = domain;
    }
Sets the domain or subdomain of the local server used by the remote server when asking
to validate the session. This information is only used to prevent many connections from
the same remote server to the same domain or subdomain of the local server.

@param domain the domain or subdomain of the local server used when validating the
       session.
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalIncomingServerSession.java