blob: 7e0f8766e31066b077e419d10ea4f19d4f71b961 [file] [log] [blame]
/*******************************************************************************
* Copyright (C) 2021 the Eclipse BaSyx Authors
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
******************************************************************************/
package org.eclipse.basyx.testsuite.regression.vab.protocol.https;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;
/**
* A default host name verifier which verifies every host name
* Used for testing with self signed certificate
* @author haque
*
*/
public class DefaultHostNameVerifier implements HostnameVerifier {
@Override
public boolean verify(String s, SSLSession sslSession) {
return true;
}
}