tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: automatic login
Date Tue, 26 Aug 2008 21:23:53 GMT
-----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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message