|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.rmi.ssl.SslRMIServerSocketFactory
com.sun.grid.jgdi.management.JGDISslRMIServerSocketFactory
public class JGDISslRMIServerSocketFactory
RMI server socket factory that uses a customized SSLContext in jdk 1.6 SSLContext.setDefault(customCtx); would make this class obsolete
| Constructor Summary | |
|---|---|
JGDISslRMIServerSocketFactory(java.lang.String serverHostname,
int serverPort,
java.io.File caTop)
Creates a new SslRMIServerSocketFactory with
the default SSL socket configuration. |
|
JGDISslRMIServerSocketFactory(java.lang.String serverHostname,
int serverPort,
java.io.File caTop,
java.lang.String[] enabledCipherSuites,
java.lang.String[] enabledProtocols,
boolean needClientAuth)
Creates a new SslRMIServerSocketFactory with
the specified SSL socket configuration. |
|
| Method Summary | |
|---|---|
java.net.ServerSocket |
createServerSocket(int port)
Creates a server socket that accepts SSL connections configured according to this factory's SSL socket configuration parameters. |
| Methods inherited from class javax.rmi.ssl.SslRMIServerSocketFactory |
|---|
equals, getEnabledCipherSuites, getEnabledProtocols, getNeedClientAuth, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JGDISslRMIServerSocketFactory(java.lang.String serverHostname,
int serverPort,
java.io.File caTop)
Creates a new SslRMIServerSocketFactory with
the default SSL socket configuration.
SSL connections accepted by server sockets created by this factory have the default cipher suites and protocol versions enabled and do not require client authentication.
caTop - the catop directory if the cluster
public JGDISslRMIServerSocketFactory(java.lang.String serverHostname,
int serverPort,
java.io.File caTop,
java.lang.String[] enabledCipherSuites,
java.lang.String[] enabledProtocols,
boolean needClientAuth)
throws java.lang.IllegalArgumentException
Creates a new SslRMIServerSocketFactory with
the specified SSL socket configuration.
caTop - the catop directory if the clusterenabledCipherSuites - names of all the cipher suites to
enable on SSL connections accepted by server sockets created by
this factory, or null to use the cipher suites
that are enabled by defaultenabledProtocols - names of all the protocol versions to
enable on SSL connections accepted by server sockets created by
this factory, or null to use the protocol versions
that are enabled by defaultneedClientAuth - true to require client
authentication on SSL connections accepted by server sockets
created by this factory; false to not require
client authentication
java.lang.IllegalArgumentException - when one or more of the cipher
suites named by the enabledCipherSuites parameter is
not supported, when one or more of the protocols named by the
enabledProtocols parameter is not supported or when
a problem is encountered while trying to check if the supplied
cipher suites and protocols to be enabled are supported.SSLSocket.setEnabledCipherSuites(java.lang.String[]),
SSLSocket.setEnabledProtocols(java.lang.String[]),
SSLSocket.setNeedClientAuth(boolean)| Method Detail |
|---|
public java.net.ServerSocket createServerSocket(int port)
throws java.io.IOException
Creates a server socket that accepts SSL connections configured according to this factory's SSL socket configuration parameters.
createServerSocket in interface java.rmi.server.RMIServerSocketFactorycreateServerSocket in class javax.rmi.ssl.SslRMIServerSocketFactoryjava.io.IOException - if the socket can not be created
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||