How to disable anonymous access to view builds?

Starting with version 1.3 Luntbuild supports anonymous access to view builds and other Luntbuild artifacts. To disable anonymous login you will have to:

Edit <server>/webapps/luntbuild/luntbuild-login.html and remove line:

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

Edit <server>/webapps/luntbuild/WEB-INF/applicationContext.xml and remove lines:

    <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>
        

You have to remove anonymousProcessingFilter from filterChainProxy bean.