return null;
}
public int acceptServerAuthentication(SVNURL url, String realm, Object serverAuth, boolean resultMayBeStored) {
if (serverAuth != null && myPrompt instanceof PromptUserPassword2) {
PromptUserPassword2 sslPrompt = (PromptUserPassword2) myPrompt;
serverAuth = serverAuth instanceof X509Certificate ?
SVNSSLUtil.getServerCertificatePrompt((X509Certificate) serverAuth, realm, url.getHost()) : serverAuth;
if (serverAuth == null) {
serverAuth = "Unsupported certificate type '" + (serverAuth != null ? serverAuth.getClass().getName() : "null") + "'";
}
return sslPrompt.askTrustSSLServer(serverAuth.toString(), resultMayBeStored);
}
return ACCEPTED;
}