Geeks With Blogs

Tangible Thoughts SharePoint, MOSS? and all the other questions

I’ve been having a sour week (i.e. week starting last Thursday),

I had requirement to implement SPS Portal SSO and the current requirement was that users should seamlessly be logged in to a JSP system and be shown certain useful pages within a WebPart.

What had me stumped was I could screen scrape and login, but after retrieving a JSessionID for a logged in user, I was clueless on how to translate that to the browser.

There were a couple of approaches that I entertained

  1. Add the JSession Cookie to browser and redirect

-> That wouldn’t work coz Cross Domain Cookies are a no no!

  1. Emulate a browser, i.e. do the requests and responses yourself and output it to the response stream

-> Didn’t want to take that path coz of the complexity

And today quite by accident (because of my limited knowledge of JSP) I found out that JSessions can be transferred over a get request as a Url parameter; i.e. they don’t have to be in the request header (although I don’t know if every app server honors this). I sure wish I could have stumbled across this a few days earlier. It would have cut me a little slack.

So now I plan to heavily abuse it; i.e. IFrame to JSP Url with the JSessionID as query parameter.

Posted on Thursday, August 19, 2004 3:10 PM SharePoint | Back to top


Comments on this post: My first SSO plumbing effort is taking shape

# re: My first SSO plumbing effort is taking shape
Requesting Gravatar...
Hello,

Do you have the sso code showing how you did this? I would really appreciate the help as I am trying to accomplish the same thing.

thanks,

Tony

tonyhunter@ajhunterministries.org
Left by Tony Hunter on Feb 24, 2005 3:21 PM

Your comment:
 (will show your gravatar)
 


Copyright © Tariq | Powered by: GeeksWithBlogs.net | Join free