|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(String host,
int port,
GuardedString key)
Creates a new instance of RemoteFrameworkConnectionInfo, using a clear (non-ssl) connection and a 60-second timeout. |
|
RemoteFrameworkConnectionInfo(String host,
int port,
GuardedString key,
boolean useSSL,
List<TrustManager> trustManagers,
int timeout)
Creates a new instance of RemoteFrameworkConnectionInfo. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
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. |
List<TrustManager> |
getTrustManagers()
Returns the list of TrustManager 's. to use when establishing
the connection. |
boolean |
getUseSSL()
Returns true iff we are to use SSL to connect. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteFrameworkConnectionInfo(String host, int port, GuardedString key)
host
- The host to connect toport
- The port to connect tokey
- The remote framework keypublic RemoteFrameworkConnectionInfo(String host, int port, GuardedString key, boolean useSSL, List<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 String getHost()
public int getPort()
public GuardedString getKey()
public boolean getUseSSL()
public List<TrustManager> getTrustManagers()
TrustManager
's. to use when establishing
the connection.
TrustManager
's.public int getTimeout()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |