users@jersey.java.net

Re: [Jersey] jersey test and basic authentication

From: Srinivas Naresh Bhimisetty <shri.naresh_at_gmail.com>
Date: Thu, 26 Nov 2009 19:43:10 +0530

Hi Gonzalo,

   may be you can use the Basic Authentication by putting in the security
"details"/ "roles" or "constraints" in your web.xml.
I think that should work.

Thanks,
Naresh

2009/11/26 Gonzalo Suárez <gonzalo_at_abstra.cc>

> Hi all,
>
> I have some tests that use the Jersey Test Framework agains a Embedded
> GlassFish. Is there any way to make that Embedded GF to start using Basic
> Authentication. I need that feature to be enable during tests execution in
> order to pass the tests successfully. Do I need to add something to the
> pom.xml?
>
> Thanks for your help.
>
> Gonzalo.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>