I'm not sure how to get the radio button to work with Acegi, but if I 
understand the situation correctly you may not need the radio button at all.  
With Acegi you can set up multiple authentication providers.  So you could use 
the authentication provider included with AppFuse for the username/password 
authentication and create your own SerialNumberAuthenticationProvider that uses 
the same "j_username" and "j_password" fields for both types of authentication. 
 

Hope that helps, 
Nathan


----- "Carlos Ortiz" <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I've got an issue with one of my use cases.
> My requirements are to authenticate and authorize using the following
> fields in a login.jsp page:
> 1. I must include one radio button that indicates that user is logging
> using a username and password (not encrypted) and another radio button
> that indicates that user is loggin using a serial number and password
> 2 One input box to capture the username/serial number
> 3 One input box to capture the password (not encrypted)
> 
> With the latter, I need to go to one table for 'username/password' and
> another table for 'serial number/password'.
> 
> Questions?
> How do I tell Acegi to use this radio button to decide where to go in
> the database?
> Any hints are welcome!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to