|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.identityconnectors.framework.api.RemoteFrameworkConnectionInfo
public final class RemoteFrameworkConnectionInfo
Encapsulates all the connection information used to connect to a remote instance of the connector framework.
Constructor Summary | |
---|---|
RemoteFrameworkConnectionInfo(java.lang.String host, int port, GuardedString key) Creates a new instance of RemoteFrameworkConnectionInfo, using a clear (non-ssl) connection and a 60-second timeout. |
|
RemoteFrameworkConnectionInfo(java.lang.String host, int port, GuardedString key, boolean useSSL, java.util.List<javax.net.ssl.TrustManager> trustManagers, int timeout) Creates a new instance of RemoteFrameworkConnectionInfo. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getHost() Returns the host to connect to. |
GuardedString |
getKey() Returns the remote framework key |
int |
getPort() Returns the port to connect to |
int |
getTimeout() Returns the timeout (in milliseconds) to use for the connection. |
java.util.List<javax.net.ssl.TrustManager> |
getTrustManagers() Returns the list of TrustManager 's. |
boolean |
getUseSSL() Returns true iff we are to use SSL to connect. |
int |
hashCode() |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteFrameworkConnectionInfo(java.lang.String host, int port, GuardedString key)
host
- The host to connect toport
- The port to connect tokey
- The remote framework keypublic RemoteFrameworkConnectionInfo(java.lang.String host, int port, GuardedString key, boolean useSSL, java.util.List<javax.net.ssl.TrustManager> trustManagers, int timeout)
host
- The host to connect toport
- The port to connect tokey
- The remote framework keyuseSSL
- Set to true if we are to connect via SSL.trustManagers
- List of TrustManager
's to use for establising the SSL connection. May be null or empty, in which case the default installed providers for the JVM will be used. Ignored if 'useSSL' is false.timeout
- The timeout to use (in milliseconds). A value of 0 means infinite timeout;Method Detail |
---|
public java.lang.String getHost()
public int getPort()
public GuardedString getKey()
public boolean getUseSSL()
public java.util.List<javax.net.ssl.TrustManager> getTrustManagers()
TrustManager
's. to use when establishing the connection.TrustManager
's.public int getTimeout()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |