I have a webapp which currently authenticates using the Form based authentication method. I want to extend it now such that on the home page, the user will only provide his user id and after processing it on the server, he will be shown the login page with password. Is there a way to extend/customise the Form based authentication in tomcat to achieve this?
A:
Easiest way would be to store the username as a session attribute, then when the second page is requested, retrieve it and use it to do whatever it is you're doing.
Mike Baranczak
2010-09-07 04:51:19