// convert info to SVNAuthentication.
if (info != null && ISVNAuthenticationManager.SSL.equals(kind)) {
String path = (String) info.get("cert");
String password = (String) info.get("password");
if (path != null) {
return new SVNSSLAuthentication(new File(path), password, authMayBeStored);
}
} else if (info != null && !info.isEmpty() && info.get("username") != null) {
if (ISVNAuthenticationManager.PASSWORD.equals(kind)) {
return new SVNPasswordAuthentication((String) info.get("username"), (String) info.get("password"), authMayBeStored);
} else if (ISVNAuthenticationManager.SSH.equals(kind)) {