tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Anonymous access with Tomcat Authentication configured.
Date Wed, 10 Oct 2007 14:21:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Semen,

Semen Vadishev wrote:
> So implementing internal server component (probably valve) is the only
> solution, right?

No. Since you only have one servlet, you can even implement directly in
that one servlet. Your other option is to use a Filter, which would
nicely separate your code into A&A and "real work" components. That's
always nice.

> And is this container independent solution?

Valves are absolutely /not/ container-independent. They are Tomcat-only
and, I would imagine, not guaranteed to work across major versions of
Tomcat.

Stick with a Filter. Those will always work, since they are part of the
servlet spec ;)

- -chris

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

iD8DBQFHDN/X9CaO5/Lv0PARAg2QAJ9meGHhU+Cd+GdDKBqqafrMA4DCawCeOQr7
XCr0bOTIIq7BrVFsOaCXLYw=
=5BIz
-----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