org.apache.axis.components.net

Class JSSESocketFactory

public class JSSESocketFactory extends DefaultSocketFactory implements SecureSocketFactory

SSL socket factory. It _requires_ a valid RSA key and JSSE. (borrowed code from tomcat) THIS CODE STILL HAS DEPENDENCIES ON sun.* and com.sun.*

Author: Davanum Srinivas (dims@yahoo.com)

Field Summary
protected SSLSocketFactorysslFactory
Field sslFactory
Constructor Summary
JSSESocketFactory(Hashtable attributes)
Constructor JSSESocketFactory
Method Summary
Socketcreate(String host, int port, StringBuffer otherHeaders, BooleanHolder useFullURL)
creates a secure socket
protected voidinitFactory()
Initialize the SSLSocketFactory

Field Detail

sslFactory

protected SSLSocketFactory sslFactory
Field sslFactory

Constructor Detail

JSSESocketFactory

public JSSESocketFactory(Hashtable attributes)
Constructor JSSESocketFactory

Parameters: attributes

Method Detail

create

public Socket create(String host, int port, StringBuffer otherHeaders, BooleanHolder useFullURL)
creates a secure socket

Parameters: host port otherHeaders useFullURL

Returns: Socket

Throws: Exception

initFactory

protected void initFactory()
Initialize the SSLSocketFactory

Throws: IOException

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