[JIRA] Commented: (CC-919) using basic auth makes projects in dashboard appear inactive

"David Biesack (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <1029996098.1296795169813.JavaMail.jira@chidmzhosting02.thoughtworks.com>
    [ http://jira.public.thoughtworks.org/browse/CC-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_19053 ] 

David Biesack commented on CC-919:
----------------------------------

Is there a workaround - some other form of auth? CC-800 may be related; I'm looking for a solution.
I did not have this problem with 2.8.1 running an a SunOS system; I installed 2.8.4 on RHEL and
all projects are marked as discontinued. I reverted the RHEL system to 2.8.1 and it still has the problem.

(These problems have been open and unaddressed for over a year. Is anyone listening?)

> using basic auth makes projects in dashboard appear inactive
> ------------------------------------------------------------
>
>                 Key: CC-919
>                 URL: http://jira.public.thoughtworks.org/browse/CC-919
>             Project: CruiseControl
>          Issue Type: Bug
>          Components: Dashboard
>    Affects Versions: 2.8.1
>         Environment: ubuntu 8.10
>            Reporter: nick humphrey
>            Priority: Critical
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> when i implement basic authentication for cruisecontrol, restart cc and then go to the dashboard, all the projects are greyed out and the force build button doesn't work, but the projects keep building in the background according to schedule.
> i suspect it has something to do with ajax and basic auth
> see also:
> http://www.nabble.com/Re%3A-security-constraint-breaks-Dashboard-tt22680743.html#a22680743.
> here's my configuration:
> # etc/webdefault.xml
> ...
>   <security-constraint>
>     <web-resource-collection>
>       <url-pattern>/*</url-pattern>
>     </web-resource-collection>
>     <auth-constraint>
>       <role-name>ccAdminRole</role-name>
>     </auth-constraint>
>   </security-constraint>
>   <login-config>
>     <auth-method>BASIC</auth-method>
>     <realm-name>MyRealm</realm-name>
>   </login-config>
> ...
> # etc/jetty.xml
> ...
>     <Set name="UserRealms">
>       <Array type="org.mortbay.jetty.security.UserRealm">
>         <Item>
>           <New class="org.mortbay.jetty.security.HashUserRealm">
>             <Set name="name">Test Realm</Set>
>             <Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/realm.properties</Set>
>             <Set name="refreshInterval">0</Set>
>           </New>
>         </Item>
>         <Item>
>           <New class="org.mortbay.jetty.security.HashUserRealm">
>             <Set name="name">MyRealm</Set>
>             <Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/my.realm.properties</Set>
>             <Set name="refreshInterval">1</Set>
>           </New>
>         </Item>
>       </Array>
>     </Set>
> ...
> # etc/my.realm.properties
> nickleus: myPassword,ccAdminRole

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
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.