Gabor Szokoli wrote:
>Hi,
>
>I have a servlet with a security constraint in its web.xml deployed on
>GlassFish.
>Works great, clients with a trusted certificate can access the
>servlet, and those without see nothing (no response).
>
>But I'd like to play nice and respond with a 401 Unauthorized instead
>of an empty response to those without, how can I do that?
>(I do not want to provide a custom error-page, in fact I don't care
>about the body at all, just the response code.)
>
>
>
Not sure if you have hit some bug. Can you provide a testcase so i can
reproduce this.
Thanks.
>Thanks in advance:
>
>Gabor Szokoli
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>