Package org.apache.jmeter.util
Class JsseSSLManager
java.lang.Object
org.apache.jmeter.util.SSLManager
org.apache.jmeter.util.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 SummaryFieldsModifier and TypeFieldDescriptionstatic final intCharacters per second, used to slow down socketsFields inherited from class org.apache.jmeter.util.SSLManagerdefaultpw, JAVAX_NET_SSL_KEY_STORE
- 
Constructor SummaryConstructorsConstructorDescriptionJsseSSLManager(Provider provider) Create the SSLContext, and wrap all the X509KeyManagers with our X509KeyManager so that we can choose our alias.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the SSLContext we are using.voidResets the SSLContext if using per-thread contexts.voidsetContext(HttpURLConnection conn) Sets the Context attribute of the JsseSSLManager objectprotected final voidSets the Provider attribute of the JsseSSLManager objectMethods inherited from class org.apache.jmeter.util.SSLManagerconfigureKeystore, destroyKeystore, getInstance, getKeyStore, getTrustStore, isSSLSupported, reset
- 
Field Details- 
CPSpublic static final int CPSCharacters per second, used to slow down sockets
 
- 
- 
Constructor Details- 
JsseSSLManagerCreate the SSLContext, and wrap all the X509KeyManagers with our X509KeyManager so that we can choose our alias.- Parameters:
- provider- Description of Parameter
 
 
- 
- 
Method Details- 
setContextSets the Context attribute of the JsseSSLManager object- Specified by:
- setContextin class- SSLManager
- Parameters:
- conn- The new Context value
 
- 
setProviderSets the Provider attribute of the JsseSSLManager object- Overrides:
- setProviderin class- SSLManager
- Parameters:
- p- The new Provider value
 
- 
getContextReturns the SSLContext we are using. This is either a context per thread, or, for backwards compatibility, a single shared context.- Returns:
- The Context value
- Throws:
- GeneralSecurityException- when constructing the context fails
 
- 
resetContextpublic void resetContext()Resets the SSLContext if using per-thread contexts.
 
-