comparison flys-client/src/main/java/org/dive4elements/river/client/server/GGInATrustStrategy.java @ 5834:f507086aa94b

Repaired internal references.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 12:31:32 +0200
parents flys-client/src/main/java/de/intevation/flys/client/server/GGInATrustStrategy.java@abf267708672
children 821a02bbfb4e
comparison
equal deleted inserted replaced
5833:a2bdc0f524e8 5834:f507086aa94b
1 package de.intevation.flys.client.server;
2
3 import java.security.cert.CertificateException;
4 import java.security.cert.X509Certificate;
5
6 import org.apache.http.conn.ssl.TrustStrategy;
7
8 public class GGInATrustStrategy implements TrustStrategy {
9
10 /**
11 * Tempoary class to accept all certificates for GGinA Authentication
12 */
13
14 @Override
15 public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException {
16 // FIXME validate Certificate
17 return true;
18 }
19 }
20

http://dive4elements.wald.intevation.org