greggigon / TeamCity-Crowd-Plugin

A way to integrate Crowd as an Authentication and Authorization in TeamCity
GNU General Public License v3.0
16 stars 15 forks source link

SSO Support #1

Open akutz opened 10 years ago

akutz commented 10 years ago

I don't see that it does, and after a quick grep for terms like 'cookie', 'header', or the Crowd SSO cookie, 'crowd.token_key', I suspect it doesn't. We use Crowd, but specifically for SSO since I can configure TeamCity to directly authenticate to the same AD that Crowd does.

greggigon commented 10 years ago

True that. Didn't have the time to do that one. Should do in the near future.

akutz commented 10 years ago

I've written quite a few authentication plug-ins, and already looked into forking yours for this reason. However, since TeamCity uses Sun JAAS, and I don't see quickly how to grab the headers, it may be a PITA to implement SSO. If I have time and see how to grab the headers so I can check for the Crowd SSO token, I'll try and implement it myself. The only issue is I can't build it. I submitted another issue where I note the build issue I'm having. Thanks!

greggigon commented 10 years ago

There is a way to add the SSO support, something I already discussed with Jetbrains guys. http://devnet.jetbrains.com/thread/441033?tstart=0 Have a look towards the end of the Thread.