private boolean isNonInteractive() { final boolean implementsPrompt = authenticationManager instanceof ISVNSSLPasspharsePromptSupport; if (!implementsPrompt) { return true; } final boolean isPromptEnabled = ((ISVNSSLPasspharsePromptSupport) authenticationManager).isSSLPassphrasePromtSupported(); return !isPromptEnabled; }
public boolean isSSLPassphrasePromtSupported() { if (getAuthenticationProvider() == null) { return true; } else if (getAuthenticationProvider() instanceof ISVNSSLPasspharsePromptSupport) { return ((ISVNSSLPasspharsePromptSupport) getAuthenticationProvider()).isSSLPassphrasePromtSupported(); } return false; }
} else { if (authenticationManager instanceof ISVNSSLPasspharsePromptSupport && ((ISVNSSLPasspharsePromptSupport) authenticationManager).isSSLPassphrasePromtSupported()) { keyManagers = loadClientCertificate(myAuthentication); } else {