|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.api.remote.impl.rmi.SSLRMIServerSocketFactory
public class SSLRMIServerSocketFactory
Instances of this class are used by the RMI to obtain SSL server sockets for RMI calls. This class implements RMIServerSocketFactory interface.
| Constructor Summary | |
|---|---|
SSLRMIServerSocketFactory()
Creates SSLRMIServerSocketFactory object. |
|
SSLRMIServerSocketFactory(BindAddressPolicy bindAddrPol)
Creates SSLRMIServerSocketFactory object. |
|
SSLRMIServerSocketFactory(boolean aUseCustomSecuritySettings)
Creates SSLRMIServerSocketFactory object with specified or not use of custom settings. |
|
SSLRMIServerSocketFactory(boolean aUseCustomSecuritySettings,
BindAddressPolicy bindAddrPol)
Creates SSLRMIServerSocketFactory object with specified or not use of custom settings. |
|
SSLRMIServerSocketFactory(boolean aUseCustomSecuritySettings,
boolean isTDIServerSide)
Creates SSLRMIServerSocketFactory object with specified or not use of custom settings and stash. |
|
SSLRMIServerSocketFactory(boolean aUseCustomSecuritySettings,
boolean isTDIServerSide,
BindAddressPolicy bindAddrPol)
Creates SSLRMIServerSocketFactory object with specified or not use of custom settings and stash. |
|
| Method Summary | |
|---|---|
ServerSocket |
createServerSocket(int aPort)
Create a server socket on the specified port (port 0 indicates an anonymous port). |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
static Principal |
getLocalThreadPrincipal()
Gets the local thread principal. |
int |
hashCode()
Returns a hash code value for the object. |
protected static void |
setLocalThreadSocket(Socket aSocket)
Sets the local thread socket. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSLRMIServerSocketFactory()
public SSLRMIServerSocketFactory(BindAddressPolicy bindAddrPol)
bindAddrPol - Object for obtaining the bind addresses from.
public SSLRMIServerSocketFactory(boolean aUseCustomSecuritySettings)
throws Exception
aUseCustomSecuritySettings - whether to use custom security settings or not
Exception - if the security protocol is not available in the default
provider package or any of the other provider packages that
were searched.
public SSLRMIServerSocketFactory(boolean aUseCustomSecuritySettings,
BindAddressPolicy bindAddrPol)
throws Exception
aUseCustomSecuritySettings - whether to use custom security settings or notbindAddrPol - Object for obtaining the bind addresses from.
Exception - if the security protocol is not available in the default
provider package or any of the other provider packages that
were searched.
public SSLRMIServerSocketFactory(boolean aUseCustomSecuritySettings,
boolean isTDIServerSide)
throws Exception
aUseCustomSecuritySettings - whether to use custom security settings or notisTDIServerSide - Whether the code is executing on the side of the Directory
Integrator Server. False means that the code is
executing on a Server API client.
Exception - if the security protocol is not available in the default
provider package or any of the other provider packages that
were searched.
public SSLRMIServerSocketFactory(boolean aUseCustomSecuritySettings,
boolean isTDIServerSide,
BindAddressPolicy bindAddrPol)
throws Exception
aUseCustomSecuritySettings - whether to use custom security settings or notisTDIServerSide - Whether the code is executing on the side of the Directory
Integrator Server. False means that the code is
executing on a Server API client.bindAddrPol - Object for obtaining the bind addresses from.
Exception - if the security protocol is not available in the default
provider package or any of the other provider packages that
were searched.| Method Detail |
|---|
protected static void setLocalThreadSocket(Socket aSocket)
aSocket - Socket object
public static Principal getLocalThreadPrincipal()
throws Exception
Exception - if local thread socket or SSL socket session are null, or SSL
session certificate chain is empty.
public ServerSocket createServerSocket(int aPort)
throws IOException
createServerSocket in interface RMIServerSocketFactoryaPort - the port number
IOExceptionpublic boolean equals(Object obj)
equals in class Objectobj - the reference object with which to compare.
true if this object is the same as the obj argument
and they have same hash codes; false otherwise.public int hashCode()
hashCode in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||