Hi Chris

Thanks.  This looks like 'just the ticket' - I'll take a look.

Tom

On 27/08/2008, at 5:23 AM, Christopher Schultz wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas,

Thomas Haines wrote:
I'm trying to figure out a way to "automatically login" a user.  It
arises when they have created an account, and I don't want to then
direct them back to a login page - rather, I want to, in this instance,
just log them in.

Tomcat's authentication neither directly nor indirectly support this. On
the other hand, securityfilter (http://securityfilter.sourceforge.net)
does indirectly support forced-logins (I use it myself in one of my apps in production). You just have to place a Principal object in the session
under the right key.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki0dGkACgkQ9CaO5/Lv0PBSIgCgizdNmuCq811TK4I3JKwmKYaK
9oUAnjVyufsJ8dejX8eZKlalLYf99IrV
=bOCf
-----END PGP SIGNATURE-----

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