org.jboss.axis.components.net
Class JSSE14SocketFactory
java.lang.Object
org.jboss.axis.components.net.DefaultSocketFactory
org.jboss.axis.components.net.JSSESocketFactory
org.jboss.axis.components.net.JSSE14SocketFactory
- All Implemented Interfaces:
- SecureSocketFactory, SocketFactory
public class JSSE14SocketFactory
- extends JSSESocketFactory
- implements SecureSocketFactory
SSL server socket factory. It _requires_ a valid RSA key and JSSE. This is
derived from the tomcat source.
- Author:
- Harish Prabandham, Costin Manolache, Stefan Freyr Stefansson, EKR -- renamed to JSSESocketFactory, Jan Luehe, Jason T. Greene
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSSE14SocketFactory
public JSSE14SocketFactory(HashMap options)
- Constructor JSSESocketFactory
- Parameters:
options
-
getKeyStoreType
protected String getKeyStoreType()
getTrustStorePassword
protected String getTrustStorePassword()
getTrustStoreType
protected String getTrustStoreType()
initFactory
protected void initFactory()
throws IOException
- Reads the keyStore and initializes the SSL socket factory.
- Overrides:
initFactory
in class JSSESocketFactory
- Throws:
IOException
getKeyManagers
protected KeyManager[] getKeyManagers(String type,
String algorithm,
String keyAlias)
throws Exception
- Gets the initialized key managers.
- Throws:
Exception
getKeyStorePassword
protected String getKeyStorePassword()
getKeyStore
protected KeyStore getKeyStore(String type,
String pass)
throws IOException
- Throws:
IOException
getTrustManagers
protected TrustManager[] getTrustManagers(String algorithm,
String type)
throws Exception
- Gets the intialized trust managers.
- Throws:
Exception
getTrustStore
protected KeyStore getTrustStore(String type,
String pass)
throws IOException
- Throws:
IOException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.