public class SslHostnameVerifierTest extends AbstractSslTest
anotherTruststore, CERT_LOCATION_FILE, clientKeystore, clientKeystoreFromClasspath, clientTruststore, clientTruststoreFromClasspath, clientWrongHostnameTruststore, clientWrongHostnameTruststoreFromClasspath, serverKeystore, serverTruststore, serverWrongHostnameKeystore
Constructor and Description |
---|
SslHostnameVerifierTest() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createDeployment() |
void |
shouldFailWithoutHostnameAndNoVerifier() |
void |
shouldFailWithRejectingHostnameVerifier() |
void |
shouldFailWithRejectingHostnameVerifierCDI() |
void |
shouldPassSslSessionAndHostnameToHostnameVerifier() |
void |
shouldPassSslSessionAndHostnameToHostnameVerifierCDI() |
void |
shouldSucceedWithAcceptingHostnameVerifier() |
void |
shouldSucceedWithAcceptingHostnameVerifierCDI() |
getKeyStore, initHttpsServer, stopHttpsServer
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment()
public void shouldFailWithoutHostnameAndNoVerifier() throws Exception
Exception
public void shouldFailWithRejectingHostnameVerifier() throws Exception
Exception
public void shouldSucceedWithAcceptingHostnameVerifier() throws Exception
Exception
public void shouldPassSslSessionAndHostnameToHostnameVerifier() throws Exception
Exception
public void shouldFailWithRejectingHostnameVerifierCDI()
public void shouldSucceedWithAcceptingHostnameVerifierCDI()
public void shouldPassSslSessionAndHostnameToHostnameVerifierCDI()
Copyright © 2021 Eclipse Foundation. All rights reserved.