Hi everybody. Once I had to write a JAX-RS server with basic authentication over SSL. I first used CXF, but it was too complex, then I choose Restlet.
I had some difficulties but the restlet team always helped me: http://restlet-discuss.1400322.n2.nabble.com/GuardedExample-without-using-deprecated-API-td5588386.html http://restlet-discuss.1400322.n2.nabble.com/org-restlet-lib-org-json-has-malformed-Maven-data-Any-plans-to-release-it-with-valid-metadata-td5623528.html This is your gift guys ! I simplified the API, in order to create an HTTPS JAX-RS Server with Basic Auth in only 3 lines of code : JAXRSServer server = new JAXRSServer(MyResource.class, 8443); server.enableSSL("www.hostname.fr", new File("path-to-your-keystore.jks"), "keyStorePassword", "keyPassword"); server.start(); Everything is based on the Restlet API. The sources is one well documented Java class. And there is some tests too I let you discover the sources here : https://github.com/Filirom1/JAX-RS-Server Cheers Romain ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2699972

