mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-28 05:39:07 +00:00
Tab police.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1783844 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a9df4780c1
commit
f77bdff541
@ -41,11 +41,11 @@
|
||||
*/
|
||||
public class TrustAllStrategy implements TrustStrategy {
|
||||
|
||||
public static final TrustAllStrategy INSTANCE = new TrustAllStrategy();
|
||||
public static final TrustAllStrategy INSTANCE = new TrustAllStrategy();
|
||||
|
||||
@Override
|
||||
public boolean isTrusted(final X509Certificate[] chain, final String authType) throws CertificateException {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
public boolean isTrusted(final X509Certificate[] chain, final String authType) throws CertificateException {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user