@Override
    @Nonnull
    public String getCipherSuiteName() {
        return Optional.ofNullable(conn)
            .map(c -> c.getCipherSuiteName().orElse("NONE"))
            .orElse("NONE");
    }
Returns true if the other peer of this session presented a self-signed certificate. When
using self-signed certificate for server-2-server sessions then SASL EXTERNAL will not be
used and instead server-dialback will be preferred for verifying the identify of the remote
server.

@return true if the other peer of this session presented a self-signed certificate.
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalSession.java