|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.net.Authenticator
org.apache.jmeter.ProxyAuthenticator
public class ProxyAuthenticator
Provides JMeter the ability to use proxy servers that require username and password.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.net.Authenticator |
|---|
java.net.Authenticator.RequestorType |
| Constructor Summary | |
|---|---|
ProxyAuthenticator(java.lang.String userName,
java.lang.String password)
Create a ProxyAuthenticator with the specified username and password. |
|
| Method Summary | |
|---|---|
protected java.net.PasswordAuthentication |
getPasswordAuthentication()
Return a PasswordAuthentication instance using the userName and password specified in the constructor. |
| Methods inherited from class java.net.Authenticator |
|---|
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyAuthenticator(java.lang.String userName,
java.lang.String password)
userName - the username to authenticate withpassword - the password to authenticate with| Method Detail |
|---|
protected java.net.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class java.net.Authenticator
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||