users@glassfish.java.net

authentication by container question

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Tue, 3 Feb 2009 11:50:23 +0100

My system uses form-based authentication, and it works fine..

question is: is it possible to use "dual login name", what means: both
login OR email as user identification.

I was thinking about some GUI tricks to work around that... but I am
also thinking if there is a simpler solution..

so, the basic use case is:

- a registered user wants to loging typing his login name OR his email
in the "login" field..

how to get this using form based container authentication ?