-----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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to