users@glassfish.java.net

Re: Glassfish 3.1 login realm shouldn't prompt for credentials for a specific URL

From: Kumar Jayanti <v.b.kumar.jayanti_at_oracle.com>
Date: Thu, 22 Mar 2012 17:07:03 +0530

Can you not use a convention that all secure URL's are under /secure/* and the ShowStatus
On 21-Mar-2012, at 7:06 PM, forums_at_java.net wrote:

> I have a web application set to prompt for a user name and password at every
> point of entry. Everything requires basic authentication except for one URL
> called showStatus which is designed to show the status of the application.
> The showStatus URL does not require authentication. The problem is that even
> when the showStatus URL is accessed the password dialog is still shown. I am
> able to click cancel, or OK and still access the page, but I would like to
> know how to disable the dialog box for the showSession URL.
>
> I was unable to get the XML code to display properly, so I have attached a
> copy of web.xml.
>
>
>
> Any help is greatly appreciated.
>
>
> --
>
> [Message sent by forum member 'gsjava']
>
> View Post: http://forums.java.net/node/884440
>
>
>
> <web.xml_.txt>