Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using cookie to authenticate to Livelive from LAPI

Status
Not open for further replies.

kba100

Technical User
Jul 10, 2004
1
CA
I am trying to connect to Livelink server using a cookie which I am recieving from the Siteminder server but getting no success yet. Here is a piece of code I am using

session = new LLSession("server.com",2099,sitemiderCredential, null);

where sitemiderCredential is variable having cookie in it.

Anybody has done this before ? Please help !!

P.S. According to siteminder instructions, I have to get SMSESSION cookie which I am already recieving it in the header.
 
In general, if you are having problems with LAPI the best approach is to set debug breaks in the corresponding API calls in the appropriate Livelink ospace and then trace through what is getting passed to the LAPI function and how Livelink is interpretting it. You need to be familiar with the Livelink Builder to do debug tracing.

In this case, if you look at the LAPI login process that includes a cookie, the function is looking for the following items to be contained in the cookie:

The Livelink DBConnection (typically the dftConnection parameter value in the opentext.ini file)
Livelink User name
Livelink Password
Livelink Domain (optional)

My guess is your cookie is not formatted with these values in the format Livelink is expectiing. You might look at the cookie format after a login through the Livelink HTML interface to see how the cookie should be formatted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top