org.objectweb.cjdbc.common.net
Class AuthenticatedServerSocketFactory
java.lang.Object
javax.net.ServerSocketFactory
javax.net.ssl.SSLServerSocketFactory
org.objectweb.cjdbc.common.net.AuthenticatedServerSocketFactory
- public class AuthenticatedServerSocketFactory
- extends javax.net.ssl.SSLServerSocketFactory
This class defines a AuthenticatedSSLSocketFactory
It is a wrapper around the socket factory in the constructor and sets the
setNeedClientAuth to true to enforce client authentication with the public
key
- Version:
- 1.0
- Author:
- Marc Wick
Field Summary |
private javax.net.ssl.SSLServerSocketFactory |
factory
|
Fields inherited from class javax.net.ssl.SSLServerSocketFactory |
|
Methods inherited from class javax.net.ssl.SSLServerSocketFactory |
getDefault |
Methods inherited from class javax.net.ServerSocketFactory |
createServerSocket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
private javax.net.ssl.SSLServerSocketFactory factory
AuthenticatedServerSocketFactory
public AuthenticatedServerSocketFactory(javax.net.ssl.SSLServerSocketFactory factory)
- Creates a new
AuthenticatedSSLSocketFactory.java
object
- Parameters:
factory
- - the factory
createServerSocket
public java.net.ServerSocket createServerSocket(int port)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
- See Also:
ServerSocketFactory.createServerSocket(int)
createServerSocket
public java.net.ServerSocket createServerSocket(int port,
int backlog)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
- See Also:
ServerSocketFactory.createServerSocket(int,int)
createServerSocket
public java.net.ServerSocket createServerSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
- See Also:
ServerSocketFactory.createServerSocket(int, int,
java.net.InetAddress)
getDefaultCipherSuites
public java.lang.String[] getDefaultCipherSuites()
- See Also:
SSLServerSocketFactory.getDefaultCipherSuites()
getSupportedCipherSuites
public java.lang.String[] getSupportedCipherSuites()
- See Also:
SSLServerSocketFactory.getSupportedCipherSuites()
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.