org.apache.jmeter.util
Class 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
JsseSSLManager(Provider provider) - Create the SSLContext, and wrap all the X509KeyManagers with
our X509KeyManager so that we can choose our alias.
|
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
|
JsseSSLManager
public JsseSSLManager(Provider provider)
Create the SSLContext, and wrap all the X509KeyManagers with
our X509KeyManager so that we can choose our alias.
provider
- Description of Parameter
getContext
public SSLContext getContext()
throws GeneralSecurityException
Returns the SSLContext we are using.
This is either a context per thread,
or, for backwards compatibility, a single shared context.
resetContext
public void resetContext()
Resets the SSLContext if using per-thread contexts.
setContext
public void setContext(HttpURLConnection conn)
Sets the Context attribute of the JsseSSLManager object
- setContext in interface SSLManager
conn
- The new Context value
setProvider
protected final void setProvider(Provider p)
Sets the Provider attribute of the JsseSSLManager object
- setProvider in interface SSLManager
p
- The new Provider value
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.