nice, and the custom realm also can store more info than only login
name, right ? then I guess this is the bets way to go.........
On Tue, Feb 3, 2009 at 12:44 PM, Nithya Subramanian
<Nithya.Subramanian_at_sun.com> wrote:
> One option would be to have a custom realm that maps the user email id to
> the username. Once the user submits the request, if it is an email id the
> user has submitted, the map (or a table) could be looked up to get the
> corresponding username which could be used for authentication. If the
> username is submitted by the user, this step could be bypassed.
>
> Thanks,
> Nithya
>
> Felipe Gaúcho wrote:
>>
>> 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 ?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>