protected boolean isStorePlainTextPassphrases(String realm, SVNAuthentication auth) throws SVNException { SVNURL url = auth.getURL(); String host = url != null ? url.getHost() : null; Map properties = getHostProperties(host); String storePlainTextPassphrases = (String) properties.get("store-ssl-client-cert-pp-plaintext"); if (storePlainTextPassphrases == null) { if (myAuthStoreHandler != null) { return myAuthStoreHandler.canStorePlainTextPassphrases(realm, auth); } return false; } return "yes".equalsIgnoreCase(storePlainTextPassphrases) || "on".equalsIgnoreCase(storePlainTextPassphrases) || "true".equalsIgnoreCase(storePlainTextPassphrases); }
protected boolean isStorePlainTextPasswords(String realm, SVNAuthentication auth) throws SVNException { SVNURL url = auth.getURL(); String host = url != null ? url.getHost() : null; Map properties = getHostProperties(host); String storePlainTextPasswords = (String) properties.get("store-plaintext-passwords"); if (storePlainTextPasswords == null) { if (myAuthStoreHandler != null) { return myAuthStoreHandler.canStorePlainTextPasswords(realm, auth); } return false; } return "yes".equalsIgnoreCase(storePlainTextPasswords) || "on".equalsIgnoreCase(storePlainTextPasswords) || "true".equalsIgnoreCase(storePlainTextPasswords); }
protected boolean isStorePlainTextPasswords(String realm, SVNAuthentication auth) throws SVNException { SVNURL url = auth.getURL(); String host = url != null ? url.getHost() : null; Map properties = getHostProperties(host); String storePlainTextPasswords = (String) properties.get("store-plaintext-passwords"); if (storePlainTextPasswords == null) { if (myAuthStoreHandler != null) { return myAuthStoreHandler.canStorePlainTextPasswords(realm, auth); } return false; } return "yes".equalsIgnoreCase(storePlainTextPasswords) || "on".equalsIgnoreCase(storePlainTextPasswords) || "true".equalsIgnoreCase(storePlainTextPasswords); }
protected boolean isStorePlainTextPassphrases(String realm, SVNAuthentication auth) throws SVNException { SVNURL url = auth.getURL(); String host = url != null ? url.getHost() : null; Map properties = getHostProperties(host); String storePlainTextPassphrases = (String) properties.get("store-ssl-client-cert-pp-plaintext"); if (storePlainTextPassphrases == null) { if (myAuthStoreHandler != null) { return myAuthStoreHandler.canStorePlainTextPassphrases(realm, auth); } return false; } return "yes".equalsIgnoreCase(storePlainTextPassphrases) || "on".equalsIgnoreCase(storePlainTextPassphrases) || "true".equalsIgnoreCase(storePlainTextPassphrases); }
public boolean isStorePlainTextPasswords(String realm, SVNAuthentication auth) throws SVNException { if (!super.hasStorePlainTextPasswordsOption()) { ISVNAuthStoreHandler handler = getAuthenticationStorageOptions().getAuthStoreHandler(); if (handler != null) { return handler.canStorePlainTextPasswords(realm, auth); } return false; } return super.isStorePlainTextPasswords(realm, auth); }
public boolean isStorePlainTextPassphrases(String realm, SVNAuthentication auth) throws SVNException { if (!super.hasStorePlainTextPassphrasesOption()) { ISVNAuthStoreHandler handler = getAuthenticationStorageOptions().getAuthStoreHandler(); if (handler != null) { return handler.canStorePlainTextPassphrases(realm, auth); } return false; } return super.isStorePlainTextPassphrases(realm, auth); } }