private boolean matchDomain(final String domain, final String pattern) {
        return Pattern.matches(pattern.replace(".", "\\.").replace("*", ".*"), domain);
    }
Get SslProvider by domain.

@param domain domain
@param promise the promise of SslProvider
@return SslProvider Future
shenyu-common/src/main/java/org/apache/shenyu/common/config/ssl/ShenyuSniAsyncMapping.java