AcceptResult (final @NotNull Url url, final @NotNull String certificateInfo) { // TODO: Probably explicitly construct server url for realm here - like in CertificateTrustManager. String realm = url.toDecodedString(); Object data = SvnConfiguration.RUNTIME_AUTH_CACHE.getDataWithLowerCheck(TERMINAL_SSL_SERVER_AUTH_KIND, realm); AcceptResult result; if (data != null) { result = (AcceptResult)data; } else { result = getAuthenticationManager().getProvider().acceptServerAuthentication(url, realm, certificateInfo, true); if (!AcceptResult.REJECTED.equals(result)) { myConfiguration.acknowledge(TERMINAL_SSL_SERVER_AUTH_KIND, realm, result); } } return result; }