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

com.inpaas.http.ssl.SSLHostnameVerifier Maven / Gradle / Ivy

There is a newer version: 0.6.10
Show newest version
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