|
||||||||||
| 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 RMIClientSocketFactory class.
| Constructor Summary | |
|---|---|
SSLRMIServerSocketFactory()
Creates SSLRMIServerSocketFactory object. |
|
SSLRMIServerSocketFactory(boolean aUseCustomSecuritySettings)
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. |
|
| Method Summary | |
|---|---|
java.net.ServerSocket |
createServerSocket(int aPort)
Create a server socket on the specified port (port 0 indicates an anonymous port). |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
static java.security.Principal |
getLocalThreadPrincipal()
Gets the local thread principal. |
int |
hashCode()
Returns a hash code value for the object. |
protected static void |
setLocalThreadSocket(java.net.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(boolean aUseCustomSecuritySettings)
throws java.lang.Exception
aUseCustomSecuritySettings - wheather to use custom security settings or not
java.lang.Exception - if the sequrity 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 java.lang.Exception
aUseCustomSecuritySettings - wheather 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.
java.lang.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(java.net.Socket aSocket)
aSocket - Socket object
public static java.security.Principal getLocalThreadPrincipal()
throws java.lang.Exception
java.lang.Exception - if local thread socket or SSL socket session are null, or SSL
session certificate chain is empty.
public java.net.ServerSocket createServerSocket(int aPort)
throws java.io.IOException
createServerSocket in interface java.rmi.server.RMIServerSocketFactoryaPort - the port number
java.io.IOExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.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 java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||