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
Exceptionpublic void shouldFailWithRejectingHostnameVerifier()
throws Exception
Exceptionpublic void shouldSucceedWithAcceptingHostnameVerifier()
throws Exception
Exceptionpublic void shouldPassSslSessionAndHostnameToHostnameVerifier()
throws Exception
Exceptionpublic void shouldFailWithRejectingHostnameVerifierCDI()
public void shouldSucceedWithAcceptingHostnameVerifierCDI()
public void shouldPassSslSessionAndHostnameToHostnameVerifierCDI()
Copyright © 2021 Eclipse Foundation. All rights reserved.