Closed martinburger closed 10 years ago
Yes indeed - I don't know if it is feasable to integrate that in this authentication plugin. Any helpful comments will be greatly welcome
Maybe having a look at Jenkins' Crowd 2 plugin is helpful? https://wiki.jenkins-ci.org/display/JENKINS/Crowd+2+Plugin
On 23. April 2014 09:53:35 MESZ, flopma notifications@github.com wrote:
Yes indeed - I don't know if it is feasable to integrate that in this authentication plugin. Any helpful comments will be greatly welcome
Reply to this email directly or view it on GitHub: https://github.com/PatrickRoumanoff/nexus-crowd-plugin/issues/13#issuecomment-41133858
I'm not sure - it seems to be based on Acegi, while Nexus uses Shiro
On 23/04/14 20:01, Martin Burger wrote:
Maybe having a look at Jenkins' Crowd 2 plugin is helpful? https://wiki.jenkins-ci.org/display/JENKINS/Crowd+2+Plugin
Closing this issue for now as I don't know how to do this in the scope of this plugin - any helpful pointers needed.
Nexus dev has shared some pointers on where to do it. I will try but can't promise anything has I don't master Guice and Shiro. Plan to work on this one not before end of july...
Can we assist in someway? I would really appreciate SSO support.
Sure, if you can send me a example of working code where you plug into Nexus a filter which creates a user session from a cookie for example, this would greatly help me.
For those who knows Guice which Nexus uses, I've tried to inject a new filter in Nexus without editing Nexus's classes without success. So I stop working on this issue. The pointers Nexus developers gave me are below. For the Crowd SSO, you need to add code inside a filter which will check if there is an existing Crowd session or not. If yes, then creates the user session inside Nexus, otherwise, do nothing. As I couldn't even add a filter, I can't go further. Sorry
SSO would be great.