Passing CAS credentials using SDK 1.1.

We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
PSHREYASHOLLA
Junior Boarder
Junior Boarder
Posts: 29
Joined: Thu Dec 22, 2016 4:18 am

Passing CAS credentials using SDK 1.1.

Post by PSHREYASHOLLA » Mon Mar 20, 2017 10:16 am

Hi,

We are using openKM with CAS. And for development we are using openKM SDK 1.1.

How to pass TGT/Service ticket as part of the request.

We are using,

import com.openkm.sdk4j.OKMWebservices;
import com.openkm.sdk4j.OKMWebservicesFactory;

OKMWebservices ws= OKMWebservicesFactory.newInstance(host, user, password);

Here instead of user and password, how can we pass TGT/Service ticket? Please help.

jllort
Moderator
Moderator
Posts: 9643
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Passing CAS credentials using SDK 1.1.

Post by jllort » Tue Mar 21, 2017 7:06 pm

First step should be OpenKM webservices be configured for accepting the ticket. You are welcome in helping us to modifying the source code for it https://github.com/openkm/document-management-system ( do in a simple method like /services/auth/getUsers to evaluate the change in the whole code ).

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests