289027 deobfuscate HttpClient SSL passwords

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@894 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2009-09-15 01:30:16 +00:00
parent 21907e25e6
commit d6415542d3
2 changed files with 15 additions and 6 deletions

View File

@ -3,6 +3,7 @@ jetty-7.0.1-SNAPSHOT
+ Promoted Jetty Centralized Logging from Sandbox
+ 288401 HttpExchange.cancel() Method Unimplemented
+ 289265 Test harness for async input
+ 289027 deobfuscate HttpClient SSL passwords
jetty-7.0.0.RC6-SNAPSHOT
+ 288055 jetty-client fails to resolve failed resolution attempts correctly

View File

@ -38,6 +38,7 @@ import org.eclipse.jetty.client.security.Authorization;
import org.eclipse.jetty.client.security.RealmResolver;
import org.eclipse.jetty.http.HttpBuffers;
import org.eclipse.jetty.http.HttpSchemes;
import org.eclipse.jetty.http.security.Password;
import org.eclipse.jetty.io.Buffer;
import org.eclipse.jetty.io.ByteArrayBuffer;
import org.eclipse.jetty.io.nio.DirectNIOBuffer;
@ -709,38 +710,45 @@ public class HttpClient extends HttpBuffers implements Attributes
_maxRetries = retries;
}
/* ------------------------------------------------------------ */
public String getTrustStoreLocation()
{
return _trustStoreLocation;
}
/* ------------------------------------------------------------ */
public void setTrustStoreLocation(String trustStoreLocation)
{
this._trustStoreLocation = trustStoreLocation;
}
/* ------------------------------------------------------------ */
public String getKeyStoreLocation()
{
return _keyStoreLocation;
}
/* ------------------------------------------------------------ */
public void setKeyStoreLocation(String keyStoreLocation)
{
this._keyStoreLocation = keyStoreLocation;
}
public void setKeyStorePassword(String _keyStorePassword)
/* ------------------------------------------------------------ */
public void setKeyStorePassword(String keyStorePassword)
{
this._keyStorePassword = _keyStorePassword;
this._keyStorePassword = new Password(keyStorePassword).toString();
}
public void setKeyManagerPassword(String _keyManagerPassword)
/* ------------------------------------------------------------ */
public void setKeyManagerPassword(String keyManagerPassword)
{
this._keyManagerPassword = _keyManagerPassword;
this._keyManagerPassword = new Password(keyManagerPassword).toString();;
}
public void setTrustStorePassword(String _trustStorePassword)
/* ------------------------------------------------------------ */
public void setTrustStorePassword(String trustStorePassword)
{
this._trustStorePassword = _trustStorePassword;
this._trustStorePassword = new Password(trustStorePassword).toString();;
}
}