You can do it in web.xml using netbeans. Here is an article on this.
http://www.netbeans.org/kb/articles/security-webapps.html#Basic
Regards,
Harsha
glassfish_at_javadesktop.org wrote, On Wednesday 21 November 2007 06:41 AM:
> How can I enable HTTP-Basic Authentication in Glassfish.
>
> Can't seem to find any document on this.
>
> Thanks
> bina
> [Message sent by forum member 'bina' (bina)]
>
> http://forums.java.net/jive/thread.jspa?messageID=246438
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>