I have a java website that runs on Apache Tomcat.
As the website is in Beta, I don't want it to be publicly accessible to anyone on the internet and I want a restricted group of beta testers to access the website thereby restricting access to all pages of the website.
The trouble is that the website already uses Spring Security in order to let what will eventually be members authenticate as part of the application's business logic (e.g. after they have registered).
So to recap: I want only beta testers to access the website. Afterwards they will be able to navigate the "public" pages and register as members of the website and then navigate the "private" pages.
I therefore some kind of double authentication. I am not sure how to do that with my Ubuntu box.
Can anyone please provide advice?