Skip to content

www.rolfje.com

Block Luntbuild 1.5.1 Anonymous Access

Posted on 2007-11-13 By rolfje 4 Comments on Block Luntbuild 1.5.1 Anonymous Access

If you are using luntbuild for your continuous integration builds at work, you probably want to remove anonymous user access. In stead of adding that feature to the administrator “Properties” page where I’d expect it, you have to hack the Spring configuration in the webapps directory of luntbuild. Sigh. Here we go:

Open a command prompt and go to the directory where luntbuild is installed. Edit the /webapps/luntbuild/luntbuild-login.html file and remove the following line:

<a href="app.do?service=reset/Home&relogin=no">Anonymous</a>

Open the /webapps/luntbuild/WEB-INF/applicationContext.xml file and remove the following 2 Spring Beans:

<bean id="anonymousProcessingFilter"
     class="org.acegisecurity.providers.anonymous.AnonymousProcessingFilter">
    <property name="key"><value>anonymous</value></property>
    <property name="userAttribute"><value>anonymous,ROLE_ANONYMOUS</value></property>
</bean>

<bean id="anonymousAuthenticationProvider"
     class="org.acegisecurity.providers.anonymous.AnonymousAuthenticationProvider">
    <property name="key"><value>anonymous</value></property>
</bean>

In the same file, searchfor the filterChainProxy bean and remove references to the anonymousProcessingFilter bean, and save the file.

Double check that when you do a cat applicationContext.xml | grep anonymousProcessingFilter, nothing is returned.

Now restart the luntbuild application. Please note that if you were logged in as anonymous before you rebooted the server, your session will still work. This is because you passed the security gates earlier, and Tomcat remembers your session. Press “Forget” and try to login as anonymous. This should no longer work.

I really hope that in luntbuild 2.0, anonymous access is removed or at least configurable from the administation pages, and that the “Forget” and “Logout” links are merged into one, because they seem to do the same thing to the user.

Software Tags:hacking, luntbuild

Post navigation

Previous Post: Clonezilla: m4d Sk!lZ
Next Post: OSX 10.5.1 Update, still SMB problems

Comments (4) on “Block Luntbuild 1.5.1 Anonymous Access”

  1. rolfje says:
    2007-11-13 at 18:23

    Apperently I revert to hacking and Googling before reading the manual, you can also find it here:
    http://luntbuild.javaforge.com/doc/installguide/installguide.html

    But still, an “allow anonymous access” setting on the admin page would be much nicer. And did I mention already that an “allow anonymous access” option on the admin page would me much nicer?

    Reply
  2. thiago says:
    2008-01-08 at 18:08

    good one! it worked fine with me J

    Reply
  3. Queen says:
    2008-11-27 at 20:38

    Keep a good work man!,

    Reply
  4. larry carleton says:
    2009-11-04 at 02:22

    This did not work when I tried it on version 1.6 linux – see http://geowind.javaforge.com/issue/10459

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

           

Recent Comments

  • rolfje on Methode Buijs uitgelegd
  • LinkedIn is at Peak Enshittifaction – Will Chatham's Blog on Linked-In not really Opt-in?
  • Hans j on 1N4148 diode as RF switch
  • Roaming Rhonda on DLNA on OSX, done right
  • Frans on How to fix a Krups XN2001 Nespresso machine

Tags

Anonimatron Apple backup design DIY DRM eclipse environment Fun gmail google hacking hamradio Hardware helicopter iphone ipod iTunes Java Keynote maven modelling motorcycle music news opinion oracle osx photo photography programming repair review security Software Steve Jobs T-Mobile technology Time Machine Ubuntu usability Utilities vacation windows Workshop

Categories

  • Apple (105)
  • Divorce (1)
  • Electronics (3)
  • Fun (57)
  • Games (7)
  • Hardware (72)
  • Microsoft (18)
  • Racing (14)
  • Software (134)
  • Uncategorized (65)
  • Workshop (20)

Archives

Copyright © 2025 www.rolfje.com.

Powered by PressBook WordPress theme