Apache JMeter
2.0.1.20050615

org.apache.jmeter.util
Class JsseSSLManager

java.lang.Object
  extended byorg.apache.jmeter.util.SSLManager
      extended byorg.apache.jmeter.util.JsseSSLManager

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.

Version:
$Revision: 1.12 $ $Date: 2004/02/13 02:21:37 $
Author:
Berin Loritsch Created March 21, 2002

Nested Class Summary
protected static class JsseSSLManager.AlwaysTrustManager
           
 
Field Summary
 
Fields inherited from class org.apache.jmeter.util.SSLManager
defaultpw
 
Constructor Summary
JsseSSLManager(Provider provider)
          Private Constructor to remove the possibility of directly instantiating this object.
 
Method Summary
 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
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

JsseSSLManager

public JsseSSLManager(Provider provider)
Private Constructor to remove the possibility of directly instantiating this object. 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

public void setContext(HttpURLConnection conn)
Sets the Context attribute of the JsseSSLManager object

Specified by:
setContext in class SSLManager
Parameters:
conn - The new Context value

setProvider

protected final void setProvider(Provider p)
Sets the Provider attribute of the JsseSSLManager object

Overrides:
setProvider in class SSLManager
Parameters:
p - The new Provider value

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.