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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Third Party Authentication CamPassport

Status
Not open for further replies.

ppelka

Programmer
Dec 18, 2007
4
US
I have a question about retrieving the CAMPassport from the biBusHeader after authenticating with Cognos through Active Directory.
There seems to be a lot of examples on how to do a simple logon with credentials and retrieving the CAMPassport from the ContentManagerService1. I just started to use Cognos 3 weeks ago so any help or pointers would be appreciated. Sample code in c# or java is fine if you have it.

Thanks

 
Ok, so it looks like the only way to do this is to use an application bridge which is fine but I'd still like to know if it is possible to use the SDK to retrieve the CAMPass from Cognos.
 
What is the scenario?
Do you want to logon using the SDK and read afterwards the campassport?
Or do you want to logon using a browser and then 'hijack' the session and get the campassport?

For the first approach you can get the campassport out of the bibusheader object.

For the second approach read out the cam_passport cookie.
 
I implemented the second scenario which involves a user opening a browser, he is windows authenticated and I then redirect him to "hijack" a session and Cognos creates a cam cookie.

What I wanted to know is whether Cognos can do the same, create a cam cookie for the user after they are windows authenticated and I can "hijack" a session using the SDK, if that makes sense. I'm not trying to create credentials and call ContentManagerServices.logon() so that I can retrieve the biBusHeader that way. Basically, if Cognos can work with Active Directory is it smart enough to know when a user has been authenticated and spit out a cam pass for that user so I can retrieve it in some way?

Anyways, I doubt that what I'm expecting is possible maybe that's why it doesn't make much sense.

Thanks for your reply preachie.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top