|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.util.SSLManager
public abstract class 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? - N.B. does not currently allow the selection of a client certificate.
Field Summary | |
---|---|
protected String |
defaultpw
Have the password available |
static String |
JAVAX_NET_SSL_KEY_STORE
|
Constructor Summary | |
---|---|
protected |
SSLManager()
Protected Constructor to remove the possibility of directly instantiating this object. |
Method Summary | |
---|---|
void |
configureKeystore(boolean preload,
int startIndex,
int endIndex)
Configure Keystore |
void |
destroyKeystore()
Destroy Keystore |
static SSLManager |
getInstance()
Static accessor for the SSLManager object. |
protected JmeterKeyStore |
getKeyStore()
Opens and initializes the KeyStore. |
protected KeyStore |
getTrustStore()
Opens and initializes the TrustStore. |
static boolean |
isSSLSupported()
Test whether SSL is supported or not. |
static void |
reset()
Resets the SSLManager so that we can create a new one with a new keystore |
abstract void |
setContext(HttpURLConnection conn)
|
protected void |
setProvider(Provider provider)
Default implementation of setting the Provider |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String JAVAX_NET_SSL_KEY_STORE
protected String defaultpw
Constructor Detail |
---|
protected SSLManager()
Method Detail |
---|
public static void reset()
public abstract void setContext(HttpURLConnection conn)
protected void setProvider(Provider provider)
protected JmeterKeyStore getKeyStore()
protected KeyStore getTrustStore()
public static final SSLManager getInstance()
public static final boolean isSSLSupported()
public void configureKeystore(boolean preload, int startIndex, int endIndex)
preload
- startIndex
- endIndex
- public void destroyKeystore()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |