You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ali Ok <al...@gmail.com> on 2007/08/23 02:05:36 UTC

Container managed securty

Hi,

I use Tomcat's JDBC realm for security. However, I want to use a very
customized login form (like remember me option or javascript based modal
login form). How can I make these work?

I cant access j_security_check servlet directly from a page or from a
servlet.

Is there a method like 'setRemoteUser' ?

If I use 'authenticate' method, then will the 'remoteUser' and roles be set
in container?

How do you implement your own login form? Any example will help...

Thank you all.

Re: Container managed securty

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ali,

Ali Ok wrote:
> I use Tomcat's JDBC realm for security. However, I want to use a very
> customized login form (like remember me option or javascript based modal
> login form). How can I make these work?

I recommend using securityfilter
(http://securityfilter.sourceforge.net). It allows (among other things)
direct logins. (That is, you don't have to attempt to hit a protected
resource in order to display the login page to the user).

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

iD8DBQFGzZqw9CaO5/Lv0PARAo51AJ0ZbVuQcmURenBhY5Nqu+hkiTAnWQCgncwL
OXXv8ls2sfS6oy6DYTZwGtM=
=5MxS
-----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