interesting suggestion, but in my case the extra field is not related to the username. i would like to have a field where the user indicates on what type of device he/she works, so we can offer the appropriate stylesheet.
On Thursday 13 December 2007 13:00, David Delbecq wrote: > Or have the username in a hidden field and have javascript build it from > to fields. > > example: > j_username=Domain\\user > j_password=***** > > Most pragmatic way imho. javascript disabled user could still enter the > \\ manually :) > > En l'instant précis du 13/12/07 12:51, Tim Funk s'exprimait en ces termes: > > In form based authentication - you have no access to the processor > > other than your suggestion of overriding authenticate() in > > FormAuthenticator. > > > > Depending on the purpose of the field you could always perform a > > kludge of setting the 3rd value in a cookie and have a filter check > > for hte cookie to perform any extra work you need. (Somehow - I doubt > > that will work) > > > > -Tim > > > > dirk ooms wrote: > >> Hello, > >> > >> I would like to have an extra field in my form-based login page, but > >> I'm wondering how I can retrieve the value of that extra field within > >> my application (request.getParameter("blabla") does not work). > >> > >> I searched the web and a suggestion was to override authenticate() in > >> FormAuthenticator. But I'm wondering how I tell the container to use > >> my version of authenticate()? > >> > >> Are there other ways? This looks like something obvious, but after > >> searching for a couple of hours, I haven't found a clear answer to > >> this issue. > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]