Spring Security Behind Tomcat Security
I'm trying to setup a website for a "beta" test and want to have an initial authentication to get to the site, at which point the users can access the beta site, but will have to login/register to use the locked parts of the site.
Initially, I tried doing this by adding basic security to tomcat or apache, but in both cases, it seemed to defer to the spring security level (the login box says something like "Spring Application Authentication").
So my question is, is there any way to do this? It doesn't necessary have to be using the web containers, it could use spring directly as well.