Re: Adding login page to cruise control dashboard

Antoine Levy-Lambert <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
  Hello Amit,

I am using tomcat. I am disabling jetty by command line arguments.

To use tomcat, on Windows I create a junction pointing to C:\Program 
Files\CruiseControl\webapps\cruisecontrol from C:\Program Files\Apache 
Software Foundation\Tomcat 6.0\webapps. Same works under UNIX with 
symbolic links.

In fact I am using the cruisecontrol webapp and not the dashboard 
webapp. My guess is that this should work the same with dashboard.

my command line args are :
  # Application parameters.  Add parameters as needed starting from 1
  wrapper.app.parameter.1=CruiseControl
  wrapper.app.parameter.2=-jmxport
  wrapper.app.parameter.3=8000
  wrapper.app.parameter.4=-configfile
  wrapper.app.parameter.5=config.xml
  wrapper.app.parameter.6=-rmiport
  wrapper.app.parameter.7=1099
  wrapper.app.parameter.8=-postenabled
  wrapper.app.parameter.9=false
  (in CruiseControl 2.7.2)

Regards,

Antoine

On 10/19/2010 2:54 PM, Amit Kabra wrote:
> Hello,
>
>                 Thanks for the reply, but I tried this basic 
> authentication in 3 ways today.
>                    1) Using jetty that comes with cruise control, but 
> if we do that, all builds projects becomes inactive. Later I found it 
> is a bug http://jira.public.thoughtworks.org/browse/CC-919
>                    2) Using apache basic authentication and then 
> connecting apache and jetty, but it is a tedious method.
>                    3) Nginx level authentication and running cruse 
> control behind nginx.
>
>
>             Currently, I am using 3rd method , i,e nginx 
> authentication. But all the above 3 method don't provide functionality 
> of logout once you are logged in. What you have provided as solution 
> is jettly level authentication , which will not have logout button, I 
> guess.
>
> So is your method below provide logout functionality  or do cruise 
> control have any such functionality by any chance ( since I didn't 
> find any ) ??
> Please reply.
>
>
> Amit.
>
>


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.