tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Extra fields in form authentication
Date Thu, 30 Aug 2007 12:44:20 GMT
Diego Manilla Suárez wrote:
> Hi. I need two extra fields in my login form, other than j_username and
> j_password. The problem is that these extra fields doesn't seem to be
> forwarded to the original requested URL. Right now I've implemented my
> own Authenticator, which extends
> org.apache.catalina.authenticator.FormAuthenticator and overrides its
> authenticate method, iterating over the request parameters and storing
> them on a map in the session.
> 
> Is there a simpler and/or nicer way to do what I want?

Take a look at http://securityfilter.sourceforge.net/

I haven't used it, but from the posts I have seen on this list, there
is a good chance it will do what you want. It also has the added
advantage that it will be portable between containers.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message