org.apache.jmeter
Class ProxyAuthenticator
java.lang.Object
java.net.Authenticator
org.apache.jmeter.ProxyAuthenticator
- public class ProxyAuthenticator
- extends Authenticator
Provides JMeter the ability to use proxy servers that require username and
password.
- Version:
- $Revision: 493779 $
- Author:
- Dion MCMURTRIE
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyAuthenticator
public ProxyAuthenticator(String userName,
String password)
- Create a ProxyAuthenticator with the specified username and password.
- Parameters:
userName
- the username to authenticate withpassword
- the password to authenticate with
getPasswordAuthentication
protected PasswordAuthentication getPasswordAuthentication()
- Return a PasswordAuthentication instance using the userName and password
specified in the constructor.
- Returns:
- a PasswordAuthentication instance to use for authenticating with
the proxy
Copyright © 1998-2008 Apache Software Foundation. All Rights Reserved.