|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.util.SSLManager
org.apache.jmeter.util.JsseSSLManager
public class JsseSSLManager
The SSLManager handles the KeyStore information for JMeter. Basically, it handles all the logic for loading and initializing all the JSSE parameters and selecting the alias to authenticate against if it is available. SSLManager will try to automatically select the client certificate for you, but if it can't make a decision, it will pop open a dialog asking you for more information. TODO: does not actually prompt
| Field Summary |
|---|
| Fields inherited from class org.apache.jmeter.util.SSLManager |
|---|
defaultpw, JAVAX_NET_SSL_KEY_STORE |
| Constructor Summary | |
|---|---|
JsseSSLManager(Provider provider)
Create the SSLContext, and wrap all the X509KeyManagers with our X509KeyManager so that we can choose our alias. |
|
| Method Summary | |
|---|---|
SSLContext |
getContext()
Returns the SSLContext we are using. |
void |
resetContext()
Resets the SSLContext if using per-thread contexts. |
void |
setContext(HttpURLConnection conn)
Sets the Context attribute of the JsseSSLManager object |
protected void |
setProvider(Provider p)
Sets the Provider attribute of the JsseSSLManager object |
| Methods inherited from class org.apache.jmeter.util.SSLManager |
|---|
configureKeystore, destroyKeystore, getInstance, getKeyStore, getTrustStore, isSSLSupported, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsseSSLManager(Provider provider)
provider - Description of Parameter| Method Detail |
|---|
public void setContext(HttpURLConnection conn)
setContext in class SSLManagerconn - The new Context valueprotected final void setProvider(Provider p)
setProvider in class SSLManagerp - The new Provider value
public SSLContext getContext()
throws GeneralSecurityException
GeneralSecurityExceptionpublic void resetContext()
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||