Set up hudson so that everyone must log in

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Set up hudson so that everyone must log in

pmendelson
I want to set up my hudson to require all users, not just admins to log on.  I have set up my tomcat server.xml to have appropriate realms.  I am not sure where in web.xml to add a security constaraint to keep the public out.
Reply | Threaded
Open this post in threaded view
|

Re: Set up hudson so that everyone must log in

Eric Crahen-3
You should be able to add an additional servletfilter tag to your web.xml to do this. What exactly it looks like depends on how you want to authenticate. For example, jaas, something else?

On 2/18/07, pmendelson <[hidden email]> wrote:

I want to set up my hudson to require all users, not just admins to log on.
I have set up my tomcat server.xml to have appropriate realms.  I am not
sure where in web.xml to add a security constaraint to keep the public out.
--
View this message in context: http://www.nabble.com/Set-up-hudson-so-that-everyone-must-log-in-tf3249804.html#a9033963
Sent from the Hudson users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--

- Eric
Reply | Threaded
Open this post in threaded view
|

Re: Set up hudson so that everyone must log in

pmendelson
I got it by work by changing the current security constraint from the login program to "/".

The only downside is the login form looks poor because my constraint blocks the graphics.

Eric Crahen-3 wrote
You should be able to add an additional servletfilter tag to your web.xml to
do this. What exactly it looks like depends on how you want to authenticate.
For example, jaas, something else?

On 2/18/07, pmendelson <pmendelson@trueoutcomes.net> wrote:
>
>
> I want to set up my hudson to require all users, not just admins to log
> on.
> I have set up my tomcat server.xml to have appropriate realms.  I am not
> sure where in web.xml to add a security constaraint to keep the public
> out.
> --
> View this message in context:
> http://www.nabble.com/Set-up-hudson-so-that-everyone-must-log-in-tf3249804.html#a9033963
> Sent from the Hudson users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
> For additional commands, e-mail: users-help@hudson.dev.java.net
>
>


--

- Eric