I would like to provide a web site that allows users to login on the home page (like jboss.org) - for a site where some of the site is protected, but other parts not.
What is the right approach to take? I have implemeted db based authentication on protected pages - but the user has to try and access those pages first in oredr to log in.
The FORM login provided by jboss seems to only work in the context of a security exception (ie by trying to go to a protected page) and cant be driven in another way.
any thoughts??
Stuart.