com.inpaas.http.ssl.SSLHostnameVerifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of inpaas-httpclient Show documentation
Show all versions of inpaas-httpclient Show documentation
HTTP Client for REST and SOAP Services
package com.inpaas.http.ssl;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;
public class SSLHostnameVerifier implements HostnameVerifier {
private static SSLHostnameVerifier instance;
public static SSLHostnameVerifier getInstance() {
if (instance == null) instance = new SSLHostnameVerifier();
return instance;
}
private SSLHostnameVerifier() {
// TODO Auto-generated constructor stub
}
@Override
public boolean verify(String hostname, SSLSession session) {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy