org.apache.axis.components.net

Class SunJSSESocketFactory

public class SunJSSESocketFactory extends JSSESocketFactory implements SecureSocketFactory

SSL socket factory. It _requires_ a valid RSA key and JSSE. (borrowed code from tomcat)

Author: Davanum Srinivas (dims@yahoo.com)

Constructor Summary
SunJSSESocketFactory(Hashtable attributes)
Constructor JSSESocketFactory
Method Summary
protected SSLContextgetContext()
gets a SSL Context
protected voidinitFactory()
Read the keystore, init the SSL socket factory

Constructor Detail

SunJSSESocketFactory

public SunJSSESocketFactory(Hashtable attributes)
Constructor JSSESocketFactory

Parameters: attributes

Method Detail

getContext

protected SSLContext getContext()
gets a SSL Context

Returns: SSLContext

Throws: Exception

initFactory

protected void initFactory()
Read the keystore, init the SSL socket factory

Throws: IOException

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.