It didn't make the spec. Stupid right? I tried, honestly I tried. I
was able to at least get SSL support in there. For Resteasy you can
either use Apache HTTp Client and set it up there. I also have
implement basic auth in a filter:
https://github.com/resteasy/Resteasy/blob/master/jaxrs/resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/BasicAuthentication.java
Just do:
WebTarget target = ...;
target.register(new BasicAuthentication(username, password));
On 4/22/2013 6:58 AM, Juergen Zimmermann wrote:
As I understand, the new client API of JAX-RS 2.0 provides a properties
as follows:
ClientBuilder.newClient().target(http://...;).getConfiguration().property(name,
value);
What are the property names for username and password when the server
requires BASIC authentication?
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users