Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/GGInATrustStrategy.java @ 6198:809c91beee54
CapabilitesParser can parse map format types now (#554).
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Wed, 05 Jun 2013 12:56:24 +0200 |
parents | ea9eef426962 |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
6197:cefad5546373 | 6198:809c91beee54 |
---|---|
14 import org.apache.http.conn.ssl.TrustStrategy; | 14 import org.apache.http.conn.ssl.TrustStrategy; |
15 | 15 |
16 public class GGInATrustStrategy implements TrustStrategy { | 16 public class GGInATrustStrategy implements TrustStrategy { |
17 | 17 |
18 /** | 18 /** |
19 * Tempoary class to accept all certificates for GGinA Authentication | 19 * Temporary class to accept all certificates for GGinA Authentication. |
20 */ | 20 */ |
21 | 21 |
22 @Override | 22 @Override |
23 public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException { | 23 public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException { |
24 // FIXME validate Certificate | 24 // FIXME validate Certificate |