Package org.apache.jmeter.util
Class JsseSSLManager
-
- All Implemented Interfaces:
public class JsseSSLManager extends SSLManager
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 Modifier and Type Field Description public final static int
CPS
public final static String
JAVAX_NET_SSL_KEY_STORE
-
Constructor Summary
Constructors Constructor Description JsseSSLManager(Provider provider)
Create the SSLContext, and wrap all the X509KeyManagers with our X509KeyManager so that we can choose our alias.
-
Method Summary
Modifier and Type Method Description void
setContext(HttpURLConnection conn)
Sets the Context attribute of the JsseSSLManager object SSLContext
getContext()
Returns the SSLContext we are using. void
resetContext()
Resets the SSLContext if using per-thread contexts. -
-
Constructor Detail
-
JsseSSLManager
JsseSSLManager(Provider provider)
Create the SSLContext, and wrap all the X509KeyManagers with our X509KeyManager so that we can choose our alias.- Parameters:
provider
- Description of Parameter
-
-
Method Detail
-
setContext
void setContext(HttpURLConnection conn)
Sets the Context attribute of the JsseSSLManager object
- Parameters:
conn
- The new Context value
-
getContext
SSLContext getContext()
Returns the SSLContext we are using. This is either a context per thread, or, for backwards compatibility, a single shared context.
-
resetContext
void resetContext()
Resets the SSLContext if using per-thread contexts.
-
-
-
-