Re: security-constraint breaks Dashboard
"Kai Kaisen" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I ran into the same issue which as described by Ruwen. After following the instructions on
http://docs.codehaus.org/display/JETTY/How+to+Configure+Security+with+Embedded+Jetty
and a restart of my CC a authorization is required when visiting the dashboard (http://myBuildMachine:8080/dashboard/). Thats cool. But my project is shown as 'Discontinued' or - when I remove the project log files - it is not even listed.
Anyway I can trigger the build process here: http://myBuildMachine:8080/cruisecontrol/.
Does anyone have an idea why CC looses the project which is still listed in the used config.xml? I assume that only one more tiny tweak is necessary to succeed by I-have-no-idea.
Thanks!
Kai
From: Ruwen <ts_tequila <at> gmx.de>
Subject: security-constraint breaks Dashboard
Newsgroups: gmane.comp.java.cruise-control.user
Date: 2009-01-26 16:55:20 GMT (8 weeks, 20 hours and 13 minutes ago)
Hi!
I want to restrict access to cruise control. I created an account in the
realms.propiertes and added the following lines to the web.xml of my
dashboard project:
<security-constraint>
<web-resource-collection>
<web-resource-name>all</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>I05-Cruiser</realm-name>
</login-config>
When I want to access the dashboard, I get ask for login data and I am
able to login.
But some things are not working at the dashboard anymore:
1. the preview at the overview:
http://tmp.ruwen.org/dashboard1.png
2. the force build button:
http://tmp.ruwen.org/dashboard2.png
When I remove the lines mentioned above from the web.xml, I can use both
features again.
Any idea how I can use login and the features?
Cheers
Ruwen
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com