jenkins-integrations / vsjenkinsmanager

A visual studio package to manage Jenkins
MIT License
24 stars 14 forks source link

Feature: windows authentication support #36

Closed nilleb closed 9 years ago

nilleb commented 9 years ago

The Jenkins server might be reverse-proxied by an Apache server performing the authentication of the users.

This configuration helps the transparent authentication of the users in an Active Directory domain. This solution outsports Jenkins LDAP/Active Directory plugins in terms of performance.

Nevertheless, the plugin needs to provide the credentials of the logged user. Otherwise, the connection will fail with a HTTP 401 (the so called 401-stimulation).

nilleb commented 9 years ago

The described environment eliminates the need to save the password of the user in a n-th extra configuration file, since the kerberos ticket of the currently logged user is being used to authentify.

The proposed patch sends the credentials (kerberos ticket/ntlm credentials) of the currently logged user to the server, if it asks for them by means of the HTTP 401 stimulation.

tomkuijsten commented 9 years ago

Thanks for the pull request, I'll review it this week.

tomkuijsten commented 9 years ago

Nice addition, I don't have this setup myself. When I release this version to visualstudioextensions, are you willing to test it?

nilleb commented 9 years ago

Yes, I am!

Il giorno lun 15 giu 2015 10:13 Tom Kuijsten notifications@github.com ha scritto:

Nice addition, I don't have this setup myself. When I release this version to visualstudioextensions, are you willing to test it?

— Reply to this email directly or view it on GitHub https://github.com/tomkuijsten/vsjenkinsmanager/pull/36#issuecomment-111973138 .

tomkuijsten commented 9 years ago

It's included in version 1.0.0.4 which was released yesterday, I created an issue #38 for it.