306226 HttpClient should allow changing the keystore and truststore type

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1767 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Michael Gorovoy 2010-05-12 15:30:31 +00:00
parent be3c8682ed
commit 16ee953581
2 changed files with 27 additions and 2 deletions

View File

@ -1,6 +1,7 @@
jetty-7.1.1-SNAPSHOT
+ 302344 Make the list of available contexts if root context is not configured optional
+ 304803 Remove TypeUtil Integer and Long caches
+ 306226 HttpClient should allow changing the keystore and truststore type
+ 308857 Update test suite to JUnit4 - Module jetty-jndi
+ 308856 Update test suite to JUnit4 - Module jetty-jmx
+ 308860 Update test suite to JUnit4 - Module jetty-rewrite

View File

@ -800,12 +800,36 @@ public class HttpClient extends HttpBuffers implements Attributes
/* ------------------------------------------------------------ */
public void setKeyManagerPassword(String keyManagerPassword)
{
this._keyManagerPassword = new Password(keyManagerPassword).toString();;
this._keyManagerPassword = new Password(keyManagerPassword).toString();
}
/* ------------------------------------------------------------ */
public void setTrustStorePassword(String trustStorePassword)
{
this._trustStorePassword = new Password(trustStorePassword).toString();;
this._trustStorePassword = new Password(trustStorePassword).toString();
}
/* ------------------------------------------------------------ */
public String getKeyStoreType()
{
return this._keyStoreType;
}
/* ------------------------------------------------------------ */
public void setKeyStoreType(String keyStoreType)
{
this._keyStoreType = keyStoreType;
}
/* ------------------------------------------------------------ */
public String getTrustStoreType()
{
return this._trustStoreType;
}
/* ------------------------------------------------------------ */
public void setTrustStoreType(String trustStoreType)
{
this._trustStoreType = trustStoreType;
}
}