Package org.apache.manifoldcf.livelink
Class LLSERVER
- java.lang.Object
-
- org.apache.manifoldcf.livelink.LLSERVER
-
public class LLSERVER extends java.lang.Object
- Author:
- Riccardo, modified extensively by Karl Wright This class represents information about a particular Livelink Server. It also maintains a particular server session. NOTE: The original Volant code insisted at a fundamental level that there be only one session per JVM. Not sure why they did this, and this is a vile restriction if true. I've therefore reworked this class to be able to work in a multi-session environment, if possible; the instantiator gets to determine how many there will be.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
-
Constructor Summary
Constructors Constructor Description LLSERVER(boolean useHttp, boolean useSSL, java.lang.String server, int port, java.lang.String user, java.lang.String pwd, java.lang.String httpCgiPath, java.lang.String httpNtlmDomain, java.lang.String httpNtlmUser, java.lang.String httpNtlmPassword, org.apache.manifoldcf.connectorcommon.interfaces.IKeystoreManager keystoreManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createCertFolder()
Create temporary session-bound cert directory.void
disconnect()
Disconnectsjava.lang.String
getErrors()
Get the current session errors as a string.java.lang.String
getHost()
Returns the server name where the Livelink Server has been installed onjava.lang.String
getLLPwd()
Returns the password of the user currently connected to the Livelink Servercom.opentext.api.LLSession
getLLSession()
Returns the Livelink sessionjava.lang.String
getLLUser()
Returns the Livelink user currently connected to the Livelink Serverint
getPort()
Returns the port Livelink is listening onprotected void
releaseCertFolder()
Release temporary session-bound cert directory.
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LLSERVER
public LLSERVER(boolean useHttp, boolean useSSL, java.lang.String server, int port, java.lang.String user, java.lang.String pwd, java.lang.String httpCgiPath, java.lang.String httpNtlmDomain, java.lang.String httpNtlmUser, java.lang.String httpNtlmPassword, org.apache.manifoldcf.connectorcommon.interfaces.IKeystoreManager keystoreManager) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-
Method Detail
-
disconnect
public void disconnect()
Disconnects
-
createCertFolder
protected void createCertFolder() throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
Create temporary session-bound cert directory.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
releaseCertFolder
protected void releaseCertFolder()
Release temporary session-bound cert directory.
-
getHost
public java.lang.String getHost()
Returns the server name where the Livelink Server has been installed on- Returns:
- the server name
-
getPort
public int getPort()
Returns the port Livelink is listening on- Returns:
- the port number
-
getLLUser
public java.lang.String getLLUser()
Returns the Livelink user currently connected to the Livelink Server- Returns:
- the user name
-
getLLPwd
public java.lang.String getLLPwd()
Returns the password of the user currently connected to the Livelink Server- Returns:
- the user password
-
getLLSession
public com.opentext.api.LLSession getLLSession()
Returns the Livelink session- Returns:
- Livelink session
-
getErrors
public java.lang.String getErrors()
Get the current session errors as a string.
-
-