All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.co.mruoc.rest.client.insecure.InsecureTrustStrategy Maven / Gradle / Ivy

package uk.co.mruoc.rest.client.insecure;

import org.apache.http.ssl.TrustStrategy;

import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;

public class InsecureTrustStrategy implements TrustStrategy {

    @Override
    public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException {
        return true;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy