users@glassfish.java.net

Re: Authentification BASIC

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Thu, 4 Mar 2010 12:41:59 +0100

ok, then we need to check your original problem..

I have some examples to you:

sun-web.xml: http://kenai.com/projects/puj/sources/arena/content/arena-http/src/main/webapp/WEB-INF/sun-web.xml?rev=458
web.xml: http://kenai.com/projects/puj/sources/arena/content/arena-http/src/main/webapp/WEB-INF/web.xml?rev=458

but I really recommend you to take a tutorial or complete blog on the
web on how to use BasicAuthentication with Glassfish, like this one:

http://blogs.sun.com/swchan/entry/jdbcrealm_in_glassfish

and then try something small and guaranteed to work in the beginning..
as soon you have it working you can get back and check your own
project