1 package org.kuali.common.httplib.impl; 2 3 import java.security.cert.X509Certificate; 4 5 import org.apache.http.conn.ssl.TrustStrategy; 6 7 // singleton enum pattern 8 public enum TrustEveryoneStrategy implements TrustStrategy { 9 INSTANCE; 10 11 @Override 12 public boolean isTrusted(X509Certificate[] chain, String authType) { 13 return true; 14 } 15 16 }