diff options
Diffstat (limited to 'org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/TrustAll.java')
-rw-r--r-- | org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/TrustAll.java | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/TrustAll.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/TrustAll.java deleted file mode 100644 index 351824b17..000000000 --- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/TrustAll.java +++ /dev/null @@ -1,38 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation - *******************************************************************************/ - -package org.eclipse.mylar.internal.trac; - -import java.security.cert.CertificateException; -import java.security.cert.X509Certificate; - -import javax.net.ssl.X509TrustManager; - -/** - * A trust store that accepts all certificates. - * - * @author Steffen Pingel - */ -public class TrustAll implements X509TrustManager { - - public void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateException { - // ignore - } - - public void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException { - // ignore - } - - public X509Certificate[] getAcceptedIssuers() { - return null; - } - -} |