@Override
    public boolean checkOutgoingDomainPair(@Nonnull final DomainPair domainPair) {
        final boolean result = outgoingDomainPairs.contains(domainPair);
        Log.trace( "Authentication exists for outgoing domain pair {}: {}", domainPair, result );
        return result;
    }
Establishes a new outgoing session to a remote domain. If the remote domain supports TLS and SASL then the new
outgoing connection will be encrypted with TLS and authenticated using SASL. However, if TLS or SASL is not
supported by the remote domain or if an error occurred while securing or authenticating the connection using SASL
then server dialback will be used.

@param domainPair the local and remote domain for which a session is to be established.
@param port default port to use to establish the connection.
@return new outgoing session to a remote domain, or null.
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalOutgoingServerSession.java