}
public void testWrongKeyPasswordJKS() {
String keyStoreStr = getPath("resources/defaultkeystore");
SSLClientPolicy sslClientPolicy = new SSLClientPolicy();
sslClientPolicy.setKeystore(keyStoreStr);
sslClientPolicy.setKeyPassword("defaultkeypasswrong");
sslClientPolicy.setKeystorePassword("defaultkeypass");
sslClientPolicy.setKeystoreType("JKS");
String trustStoreStr = getPath("resources/defaulttruststore");
sslClientPolicy.setTrustStore(trustStoreStr);
TestHandler handler = new TestHandler();
JettySslClientConfigurer jettySslClientConfigurer =
createJettySslClientConfigurer(sslClientPolicy,
"https://dummyurl",
handler);