I was thinking you had to use j_username and j_password for the j_securitycheck 
login action....
you might could add another variable in those classes called, but at the very 
least it would be adding it in and overriding authenticate I would think.

-----Original Message-----
From: dirk ooms [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 13, 2007 5:00 AM
To: users@tomcat.apache.org
Subject: extra field in form-based authentication


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.

Thanks in advance for any guidance,
dirk

---------------------------------------------------------------------
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]

Reply via email to