Bill Barker wrote:
You haven't missed anything. Tomcat simply doesn't try to authenticate a
user if authentication isn't required. Simplest and most portable is to
create a Filter that is configured as the first filter, and takes an
auth-method init param to tell it what to use, and then
"Bruno Harbulot" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
>
> I would like to be able to require authentication optionally and make my
> servlets or JSPs behave differently depending on which Principals they
> get.
> For example, I'd like a GET to be able to return