As fas as I can tell, it's quite possible to do that in the following way (have not tested myself)
1. Configure tomcat to do BASIC auth 2. Configure jenkins to delegate the authentication to the container This would probably do the trick. On Thu, Dec 20, 2012 at 3:07 PM, bm38 <bmoffatt...@yahoo.com> wrote: > Anyone know or is there a good reference on how one would go about doing > the following? > > Want to deploy Jenkins to Tomcat and not only delegate to Tomcat's > security realm, but also let Tomcat's HTTP Basic Auth serve as the > authentication mechanism? That is, have the entire Jenkins app behind HTTP > Basic Auth (configured via Tomcat) such that once the user supplies > credentials via HTTP Basic Auth, Jenkins recognizes them as logged in with > the username they used for the basic auth. Seems like there is ample > documentation about how to do a similar kind of thing when you are running > Apache in conjunction with Tomcat (Reverse Proxy Auth Plugin). This is > exactly the behavior I want, but I'm wanting to know if it's possible in a > Tomcat-only scenario. Anything I've been able to find has indicated that > this is somewhat difficult to achieve and what I have tried has been > unsuccessful, but I was hoping I was just missing something. > > Thanks. > -- Richard Lavoie IT consultant / consultant en informatique